Commit 2cb4acf2 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: Remove devm_hwmon_device_unregister() API function



devm_hwmon_device_unregister() has no in-tree user, and its implementation
is wrong since it does not pass the to-be-removed hardware monitoring
device as parameter. I do not envision a valid use for it; drivers needing
it should not have called devm_hwmon_device_register_with_info() in the
first place. Remove it.

Reported-by: default avatarMatthew Sanders <m@ttsande.rs>
Closes: https://lore.kernel.org/linux-hwmon/488b3bdf870ea76c4b943dbe5fd15ac8113019dc.camel@kernel.org/


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 3017d28d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment