diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-06-04 23:47:12 (GMT) |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-06-12 15:36:47 (GMT) |
commit | 31e3879127d4db56ad445fd948ca39c393ee65d7 (patch) | |
tree | 1441bcc12e1093246c060ae9fe05c66b6fe88c7b /drivers/hwmon/shtc1.c | |
parent | 590e8534447ce9f2f5e5e64681764079530ee8c7 (diff) | |
download | linux-31e3879127d4db56ad445fd948ca39c393ee65d7.tar.xz |
hwmon: (ltc4151) 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>
Tested-by: Per Dalén <per.dalen@appeartv.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/shtc1.c')
0 files changed, 0 insertions, 0 deletions