commit | 157926c013b39561fd1e3b93f8df96fb0ed17648 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Jul 01 22:29:28 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Jun 27 18:58:03 2016 -0700 |
tree | 8539c06d71281d4bb319cbb0fb18d16ad02cddb9 | |
parent | 165720d9ff3e33f626802da6cef3118ebfc6940c [diff] |
hwmon: (ad7314) 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>