hwmon: (adm1025) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Thu, 3 Jul 2014 13:49:27 +0000 (21:49 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:36 +0000 (07:01 -0700)
commitaab3f57a11723c75477f43d7a510c148f2269d16
treea4ad8a38b8e02b5f1a7b047bf2763a4106b986f0
parent851a7afa82c9cbbfa2f85151872a29db0a3f6cbf
hwmon: (adm1025) 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/adm1025.c