diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-07-09 03:59:51 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-08-04 16:01:38 +0200 |
commit | f073b9942731cbef167b8a6d6bacc80370fddf8c (patch) | |
tree | e75041d4ece1cab8ad4a60c2dd69b0a187475943 /drivers/hwmon/asc7621.c | |
parent | hwmon: (max16065) Use PTR_ERR_OR_ZERO (diff) | |
download | linux-f073b9942731cbef167b8a6d6bacc80370fddf8c.tar.xz linux-f073b9942731cbef167b8a6d6bacc80370fddf8c.zip |
hwmon: (ds620) 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>
Diffstat (limited to 'drivers/hwmon/asc7621.c')
0 files changed, 0 insertions, 0 deletions