commit | b8d56898307f561d7e100d33c244001a34ee1262 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Fri Jul 11 10:44:48 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 04 07:01:38 2014 -0700 |
tree | 91d649eb137469e245a05fa2e8cf7234b2a4b158 | |
parent | 4395d78056a8b5716f7e1858feb721ccf91fb104 [diff] |
hwmon: (sht21) 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>