commit | b3aabd6db3700dfa6ab334c96cbf16c04929b8a2 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Jun 17 23:12:08 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 04 07:01:34 2014 -0700 |
tree | b4702123521bf151ba716ad260961aa2987aa104 | |
parent | 9a70c97b218f5b78b3a265c3ba797b18fa36bd02 [diff] |
hwmon: (wm8350) 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> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>