summaryrefslogtreecommitdiffstats
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-05-12 11:44:51 +0200
committerGuenter Roeck <linux@roeck-us.net>2014-05-12 17:37:06 +0200
commit8759f9046550f463098148bf577ccd32cdb895e3 (patch)
treee2d1009cf52d32088e746f7e2507e1eccb435706 /drivers/rapidio
parenthwmon: (emc1403) fix inverted store_hyst() (diff)
downloadlinux-8759f9046550f463098148bf577ccd32cdb895e3.tar.xz
linux-8759f9046550f463098148bf577ccd32cdb895e3.zip
hwmon: (emc1403) Fix resource leak on module unload
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. Signed-off-by: Jean Delvare <jdelvare@suse.de> Fixes: 454aee17f hwmon: (emc1403) Convert to use devm_hwmon_device_register_with_groups Cc: Guenter Roeck <linux@roeck-us.net> Cc: stable@vger.kernel.org [3.13+] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions