power: supply: ab8500: add missing destroy_workqueue in ab8500_charger_bind
authorZheng Bin <zhengbin13@huawei.com>
Thu, 12 May 2022 09:38:44 +0000 (17:38 +0800)
committerSebastian Reichel <sre@kernel.org>
Sat, 16 Jul 2022 23:00:25 +0000 (01:00 +0200)
commit38d45444e257f7e3f6fbd242ba42371563984093
tree8e18251a7abc21b1988216581c0e5d1aea78e3f3
parenta1124c84d467223c71bcf9f2710993bb6927ea5c
power: supply: ab8500: add missing destroy_workqueue in ab8500_charger_bind

ab8500_charger_bind misses destroy_workqueue in error path,
this patch fixes that.

Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500_charger.c