hwmon: (g760a) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Tue, 1 Jul 2014 02:57:38 +0000 (10:57 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:37 +0000 (07:01 -0700)
commite47c39b3a8299e2d84d9e3ca5e591bc5055dd1d8
tree88d8758a986d084eb794d4d2f3b8884a527861be
parent15ac4ddb3271af9471225ef018eb3907989aaf6a
hwmon: (g760a) Convert to devm_hwmon_device_register_with_groups

Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/g760a.c