diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-07-12 05:00:12 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-10-14 01:16:28 +0200 |
commit | 74188cba088192e14cd7fd5433876e8c947bcdd8 (patch) | |
tree | a57d582ea4a75155a169b0dede83f5eed3c2e9b1 /drivers/hwmon/lm70.c | |
parent | hwmon: (nct6775) Convert to use hwmon_device_register_with_groups (diff) | |
download | linux-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/lm70.c')
0 files changed, 0 insertions, 0 deletions