commit | 68f86c75ca1eaf790907eb43c68f9f2996474116 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Wed Jul 02 20:31:21 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Jun 27 18:58:03 2016 -0700 |
tree | 0cc5464060e29986ba96fb99745206a6a6709113 | |
parent | 699f279d998cf95809babc987abd4a409eada5b2 [diff] |
hwmon: (ads7871) 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. The update_lock mutex is not used, so remove it. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>