commit | 337076f9b6d8890682dcb7873869ef8dfa8febb2 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Jul 01 22:40:29 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 04 07:01:35 2014 -0700 |
tree | cecc0a7a6602679d698d35bcd9208fd3647cca1e | |
parent | 991763a91cbacf1e511ec9bea9ea8539e4d41f39 [diff] |
hwmon: (ad7418) 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>