commit | 9a70c97b218f5b78b3a265c3ba797b18fa36bd02 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Jun 17 23:10:55 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 04 07:01:34 2014 -0700 |
tree | 860eac7a01f35bf9ceb3ff07a9720965906ea08d | |
parent | f82b2c344994f23c003c967fb833d1a0d7b2527f [diff] |
hwmon: (wm831x) 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>