Re: [PATCH] power: supply: ab8500_fg: remove comparison to bool

From: Linus Walleij
Date: Tue Apr 28 2020 - 10:02:47 EST


On Sun, Apr 26, 2020 at 11:43 AM Jason Yan <yanaijie@xxxxxxxxxx> wrote:

> Fix the following coccicheck warning:
>
> drivers/power/supply/ab8500_fg.c:2402:5-24: WARNING: Comparison to bool
>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij