]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: convert ntc_thermistor to use devm_thermal_zone_of_sensor_register
authorEduardo Valentin <edubezval@gmail.com>
Wed, 9 Mar 2016 21:02:22 +0000 (13:02 -0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 17 May 2016 14:28:25 +0000 (07:28 -0700)
commit0e058bc3acc03d6b028f2bc4fd67486238b10bec
tree9fb45b972e7fa03729efbda3cb7a7bf388f9ef9b
parent2a48802f376bbb56a68c530255dfc3dc744b3e97
hwmon: convert ntc_thermistor to use devm_thermal_zone_of_sensor_register

This changes the driver to use the devm_ version
of thermal_zone_of_sensor_register and cleans
up the  local points and unregister calls.

Cc: Jean Delvare <jdelvare@suse.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: lm-sensors@lm-sensors.org
Cc: linux-kernel@vger.kernel.org
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/hwmon/ntc_thermistor.c