hwmon: (lm80) Convert to use devm_hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Fri, 4 Apr 2014 16:01:34 +0000 (18:01 +0200)
committerJean Delvare <jdelvare@suse.de>
Fri, 4 Apr 2014 16:01:34 +0000 (18:01 +0200)
commit118c9a61f158c8f2e3694ed2a3681c217328a2c1
treeb93075f013edc670ce0e6705257a54fe92486719
parentc669ec8039e22fbbf0ac291d1c38eedf0a9b4b7a
hwmon: (lm80) Convert to use devm_hwmon_device_register_with_groups

Simplify code, reduce code size, and attach hwmon attributes to
hwmon device.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
drivers/hwmon/lm80.c