commit | 715f69bef14e4139ff1e19bbc69e0cd07de0f4e9 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Thu Jul 03 22:01:48 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 04 07:01:37 2014 -0700 |
tree | 35d23f6b1b0ea1adfac8fe5de6d2adad90d7c784 | |
parent | 8280325288176694a3c22e2f10fdab6d8de5bd99 [diff] |
hwmon: (adm9240) 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>