aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/thermal_hwmon.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-03-09 18:40:06 +0530
committerEduardo Valentin <edubezval@gmail.com>2016-03-09 10:31:20 -0800
commite498b4984db82b4ba3ceea7dba813222a31e9c2e (patch)
tree5ce061bc5e4c485d6b9aa1a9ce47144fec68e986 /drivers/thermal/thermal_hwmon.c
parentthermal: doc: Add details of thermal_zone_of_sensor_{register,unregister} (diff)
downloadlinux-dev-e498b4984db82b4ba3ceea7dba813222a31e9c2e.tar.xz
linux-dev-e498b4984db82b4ba3ceea7dba813222a31e9c2e.zip
thermal: of-thermal: Add devm version of thermal_zone_of_sensor_register
Add resource managed version of thermal_zone_of_sensor_register() and thermal_zone_of_sensor_unregister(). This helps in reducing the code size in error path, remove of driver remove callbacks and making proper sequence for deallocations. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/thermal_hwmon.c')
0 files changed, 0 insertions, 0 deletions