hwmon: (lm90) Convert to use hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Fri, 4 Apr 2014 16:01:35 +0000 (18:01 +0200)
committerJean Delvare <jdelvare@suse.de>
Fri, 4 Apr 2014 16:01:35 +0000 (18:01 +0200)
commit1de8b250f6b243f78b5d01db56d2435448797e08
tree59dadfb09dcf7f6dc5e35a37a5f6dddd1a5fde7b
parent084489e64cad50b2a3927abafc69b6fd72eb56bc
hwmon: (lm90) Convert to use 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/lm90.c