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)
commit7cc7de93fad46623e2600f74988c715d568e5ad8
tree14a37639adf70e4ef9684b4fac75c2ee774ad02e
parentb57e1d429397217870595c80219b825d7a6db0c6
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