hwmon: vexpress: Use devm helper for hwmon device registration
authorPawel Moll <pawel.moll@arm.com>
Thu, 12 Jun 2014 14:14:33 +0000 (15:14 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 12 Jun 2014 15:36:50 +0000 (08:36 -0700)
Use devm_hwmon_device_register_with_groups instead of
the old-style manual attributes and hwmon device registration.

Also, unroll the attribute group macros for better code
readability.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

No differences found