diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-07-16 23:10:46 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-08-04 07:01:39 -0700 |
commit | 573bfe67ca1057febc6a0ccd8caff9a9fdb01994 (patch) | |
tree | f1444b948775b9d4205c77c515fb674449c80d67 /drivers/hwmon/adt7470.c | |
parent | a2cc242823399bcb64dcd487f8b51c061844165c (diff) | |
download | linux-573bfe67ca1057febc6a0ccd8caff9a9fdb01994.tar.gz linux-573bfe67ca1057febc6a0ccd8caff9a9fdb01994.tar.bz2 linux-573bfe67ca1057febc6a0ccd8caff9a9fdb01994.zip |
hwmon: (adt7462) 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/adt7470.c')
0 files changed, 0 insertions, 0 deletions