commit | fa0efc4091e2299741a0391eeaadd36f335d942e | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sun Jun 29 15:00:59 2014 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 04 07:01:35 2014 -0700 |
tree | 4df81c1112a7b28ed0378eb9316defaafebdfd0c | |
parent | 7b3dadc4b391c878c26917e23e2af8653dd13db3 [diff] |
hwmon: (htu21) 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>