commit | 1276fae2a93142525580d6f6ab77105f4d7a0e09 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sun Jun 29 10:33:34 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 04 07:01:35 2014 -0700 |
tree | e5b9e6aebbd1a4c02ce63246c632c17e5a47d7ea | |
parent | 28e6274d8fa67ecb468eaa219c45595384e3bda8 [diff] |
hwmon: (amc6821) 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>