commit | 3048577609ef09859505ff2aaf7194a924202193 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Wed Jul 16 23:12:54 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 04 07:01:39 2014 -0700 |
tree | 8cce82e0ccf220790e01b72ebfe59ff6e284f958 | |
parent | 9027d933a91e1430ebcd9b9fb8da538cb40284ef [diff] |
hwmon: (adt7470) 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>