aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adt7411.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-07-19 22:29:44 +0800
committerGuenter Roeck <linux@roeck-us.net>2014-08-04 07:01:40 -0700
commit398e16db62620dd80a237c5043bec5c9335ac92c (patch)
tree1b136ff99062a7319f6cfb58611e57ca7fb3ec4b /drivers/hwmon/adt7411.c
parenthwmon: (emc2103) Convert to devm_hwmon_device_register_with_groups (diff)
downloadlinux-dev-398e16db62620dd80a237c5043bec5c9335ac92c.tar.xz
linux-dev-398e16db62620dd80a237c5043bec5c9335ac92c.zip
hwmon: (g762) Convert to hwmon_device_register_with_groups
Use ATTRIBUTE_GROUPS macro and hwmon_device_register_with_groups() to simplify the code a bit. Use hwmon_device_register_with_groups rather than the device managed version to ensure g762_of_clock_disable() is called after hwmon_device_unregister(). Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/adt7411.c')
0 files changed, 0 insertions, 0 deletions