hwmon: (lm90) Convert to use hwmon_device_register_with_groups
authorGuenter Roeck <[email protected]>
Fri, 4 Apr 2014 16:01:35 +0000 (18:01 +0200)
committerJean Delvare <[email protected]>
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 <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
drivers/hwmon/lm90.c