Searched hist:"74188 cba088192e14cd7fd5433876e8c947bcdd8" (Results 1 – 2 of 2) sorted by relevance
/linux/include/linux/ |
H A D | hwmon.h | diff 74188cba088192e14cd7fd5433876e8c947bcdd8 Fri Jul 12 05:00:12 CEST 2013 Guenter Roeck <linux@roeck-us.net> 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>
|
/linux/drivers/hwmon/ |
H A D | hwmon.c | diff 74188cba088192e14cd7fd5433876e8c947bcdd8 Fri Jul 12 05:00:12 CEST 2013 Guenter Roeck <linux@roeck-us.net> 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>
|