summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adt7462.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-07-12 05:00:12 +0200
committerGuenter Roeck <linux@roeck-us.net>2013-10-14 01:16:28 +0200
commit74188cba088192e14cd7fd5433876e8c947bcdd8 (patch)
treea57d582ea4a75155a169b0dede83f5eed3c2e9b1 /drivers/hwmon/adt7462.c
parenthwmon: (nct6775) Convert to use hwmon_device_register_with_groups (diff)
downloadlinux-74188cba088192e14cd7fd5433876e8c947bcdd8.tar.xz
linux-74188cba088192e14cd7fd5433876e8c947bcdd8.zip
hwmon: Provide managed hwmon registration
Drivers using the new hwmon_device_register_with_groups API often have a remove function which consists solely of a call hwmon_device_unregister(). Provide support for devm_hwmon_device_register_with_groups and devm_hwmon_device_unregister to allow this repeated code to be removed and help eliminate error handling code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/adt7462.c')
0 files changed, 0 insertions, 0 deletions