hwmon: (da9052) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Wed, 9 Jul 2014 01:20:41 +0000 (09:20 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 22 Sep 2014 18:14:52 +0000 (11:14 -0700)
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>
Tested-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

No differences found