Home
last modified time | relevance | path

Searched hist:"74188 cba088192e14cd7fd5433876e8c947bcdd8" (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dhwmon.hdiff 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 Dhwmon.cdiff 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>