hwmon: (tmp102) Convert to use hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Sun, 2 Feb 2014 18:08:09 +0000 (10:08 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 21 May 2014 23:02:20 +0000 (16:02 -0700)
commitad9beea43f22f80217ac1850b0373718adce5fbc
tree5b0de841aa959ab1ad81811bee25933c867fd806
parentfbd9af164c4a70e6f37b6985de8d481a6958cc2c
hwmon: (tmp102) Convert to use hwmon_device_register_with_groups

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

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