hwmon: (ntc_thermistor) Use devm_hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Mon, 25 Jul 2016 20:45:30 +0000 (13:45 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 9 Sep 2016 04:34:15 +0000 (21:34 -0700)
commit5e7f5994bdddfb8ddcf08c23638b3ec00c8984bc
tree8e20b43c58bcf157aaf5e956ac61c6b96650287b
parent48001525c94b099058ef0b1fa6a5094082123d2d
hwmon: (ntc_thermistor) Use devm_hwmon_device_register_with_groups

Simplify code, reduce code size, and drop remove function as no longer
needed.

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