commit | eac83cd9dca6ba2e5a8ba8b823daf8fdbbeae109 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sat Jul 19 22:42:33 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 04 07:01:40 2014 -0700 |
tree | 9a9776af866f229547ce74f3dc94092295a9019b | |
parent | 398e16db62620dd80a237c5043bec5c9335ac92c [diff] |
hwmon: (adt7411) 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>