On 05/12/2014 02:44 AM, Jean Delvare wrote:
Commit 454aee17f claims to convert driver emc1403 to use devm_hwmon_device_register_with_groups, however the patch itself makes use of hwmon_device_register_with_groups instead. As the driver remove function was still dropped, the hwmon device is no longer unregistered on driver removal, leading to a resource leak.
Oops ....
Signed-off-by: Jean Delvare <jdelvare@xxxxxxx> Fixes: 454aee17f hwmon: (emc1403) Convert to use devm_hwmon_device_register_with_groups Cc: Guenter Roeck <linux@xxxxxxxxxxxx> Cc: stable@xxxxxxxxxxxxxxx [3.13+]
Thanks, I'll apply and send to Linus. Guenter _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors