commit | f82b2c344994f23c003c967fb833d1a0d7b2527f | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Jun 17 15:38:23 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 04 07:01:34 2014 -0700 |
tree | e356d2765b5e45d1cdb1b96f99d7d53bed7def6b | |
parent | 11f7e494fd726c119c6f576b4cf1dc09e9f665b8 [diff] |
hwmon: (ads7828) 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>