commit | b060f3c4ac99b050b990b316637f7fd9898b9fd7 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Thu Jul 03 21:57:44 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 04 07:01:37 2014 -0700 |
tree | c5216391a87ef3b22acb67b34f85eb1c5b192085 | |
parent | 278ee1c840fcf32f156fd876efcc3780bc580f6c [diff] |
hwmon: (adm1031) 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>