power_supply: ipaq_micro_battery: Fix leaking workqueue
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 20 Feb 2015 13:32:23 +0000 (14:32 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 25 Feb 2015 21:18:18 +0000 (22:18 +0100)
commitf852ec461e24504690445e7d281cbe806df5ccef
treee54d3e43b65a11b561ef9dac5d02324cec8bb67f
parent68c3ed6fa7e0d69529ced772d650ab128916a81d
power_supply: ipaq_micro_battery: Fix leaking workqueue

Driver allocates singlethread workqueue in probe but it is not destroyed
during removal.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Fixes: 00a588f9d27f ("power: add driver for battery reading on iPaq h3xxx")
Cc: <stable@vger.kernel.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/ipaq_micro_battery.c