commit | 78cebd0889c7b8b92f43e7667efc16636b858c34 | [log] [tgz] |
---|---|---|
author | Pawel Moll <pawel.moll@arm.com> | Thu Jun 12 15:14:33 2014 +0100 |
committer | Guenter Roeck <linux@roeck-us.net> | Thu Jun 12 08:36:50 2014 -0700 |
tree | ae6678e21252841a29edfebd011297d19edc3fe0 | |
parent | 8dea1b4e7726faf19b66d70f9f3737e85ef04a36 [diff] |
hwmon: vexpress: Use devm helper for hwmon device registration 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>