summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/dell-smm-hwmon.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-07-02 20:31:21 +0800
committerGuenter Roeck <linux@roeck-us.net>2016-06-27 18:58:03 -0700
commit68f86c75ca1eaf790907eb43c68f9f2996474116 (patch)
tree0cc5464060e29986ba96fb99745206a6a6709113 /drivers/hwmon/dell-smm-hwmon.c
parent699f279d998cf95809babc987abd4a409eada5b2 (diff)
downloadlinux-68f86c75ca1eaf790907eb43c68f9f2996474116.tar.bz2
hwmon: (ads7871) 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. The update_lock mutex is not used, so remove it. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/dell-smm-hwmon.c')
0 files changed, 0 insertions, 0 deletions