hwmon: (adm1026) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Thu, 3 Jul 2014 13:53:01 +0000 (21:53 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:37 +0000 (07:01 -0700)
commitb591d3c1964e7cba6582eb22c7033d37c31a4e99
tree3d3823c8c6d0958e392afca10d30754a8ac5f10f
parent97df55661a2d60e6554ce9a9ee6fb47606ddc772
hwmon: (adm1026) 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/adm1026.c