mirror of
https://github.com/commaai/agnos-kernel-sdm845.git
synced 2026-06-15 23:04:58 +08:00
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>
1.0 KiB
1.0 KiB