hwmon: (lineage-pem) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Sat, 5 Jul 2014 03:22:44 +0000 (11:22 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:37 +0000 (07:01 -0700)
commit8280325288176694a3c22e2f10fdab6d8de5bd99
tree1f6c6c1514515c89df1d42d8db3010574cc0ef5a
parent781126a0c8debc713a07da16c790253dadb33184
hwmon: (lineage-pem) 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/lineage-pem.c