projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
thermal: convert rcar_thermal to use devm_thermal_zone_of_sensor_register
[linux-2.6-microblaze.git]
/
drivers
/
thermal
/
rcar_thermal.c
diff --git
a/drivers/thermal/rcar_thermal.c
b/drivers/thermal/rcar_thermal.c
index
82daba0
..
71a3392
100644
(file)
--- a/
drivers/thermal/rcar_thermal.c
+++ b/
drivers/thermal/rcar_thermal.c
@@
-492,7
+492,7
@@
static int rcar_thermal_probe(struct platform_device *pdev)
goto error_unregister;
if (of_data == USE_OF_THERMAL)
- priv->zone = thermal_zone_of_sensor_register(
+ priv->zone =
devm_
thermal_zone_of_sensor_register(
dev, i, priv,
&rcar_thermal_zone_of_ops);
else