]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (ntc_thermistor) Convert to new hwmon API
authorGuenter Roeck <linux@roeck-us.net>
Tue, 12 Feb 2019 17:55:16 +0000 (09:55 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 23 Feb 2019 17:04:47 +0000 (09:04 -0800)
commit8ad17bf07da69be5167b2697992ac5c7699f7001
tree14a37639adf70e4ef9684b4fac75c2ee774ad02e
parent961e8fae75a5d52cb29eea881f01622fefc138f9
hwmon: (ntc_thermistor) Convert to new hwmon API

Use devm_hwmon_device_register_with_info() instead of
devm_hwmon_device_register_with_groups() to register the hwmon
device to simplify the code and make it easier to maintain.
As part of this change, thermal device registration is moved into
the hwmon core.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ntc_thermistor.c