]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 28 Apr 2014 15:56:58 +0000 (08:56 -0700)
commit8bc67b4a4f89c6b92e160914307c1926bb9fd1b6
tree19357228ef01873c643b1eb20df549da45aaa168
parenta716ac3d2f9ec5003a6c7971a94a21346ccc63c8
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