hwmon: (lm90) Use devm_hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Mon, 13 Jun 2016 13:28:03 +0000 (06:28 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 9 Jul 2016 15:35:40 +0000 (08:35 -0700)
commit6e5f62b9e3651e619a6baee9e11f6d9c8e4fd657
tree90942509fa9290e276f5c6c0461be508a66e6925
parent1f17a444b42bd7522016417a871f0485abeffda4
hwmon: (lm90) Use devm_hwmon_device_register_with_groups

Since all other cleanup handled with devm_add_action, we can use
devm_hwmon_device_register_with_groups() to register the hwmon
device, and drop the remove function.

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