Re: [PATCH -next] power: supply: ab8500_fg: add missing destroy_workqueue in ab8500_fg_probe

From: Linus Walleij
Date: Tue Jun 07 2022 - 22:16:53 EST


On Tue, Jun 7, 2022 at 5:34 AM gaochao <gaochao49@xxxxxxxxxx> wrote:

> From: Gao Chao <gaochao49@xxxxxxxxxx>
>
> In ab8500_fg_probe, misses destroy_workqueue in error path,
> this patch fixes that.
>
> Fixes: 010ddb813f35 ("power: supply: ab8500_fg: Allocate wq in probe")
> Signed-off-by: Gao Chao <gaochao49@xxxxxxxxxx>

Oh good catch!
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij