Re: [PATCH] power: supply: ab8500: Fix the error handling path of ab8500_charger_probe()

From: Linus Walleij
Date: Sun Jan 02 2022 - 01:44:15 EST


On Tue, Dec 28, 2021 at 9:43 PM Christophe JAILLET
<christophe.jaillet@xxxxxxxxxx> wrote:

> Since the commit below, ab8500_bm_of_remove() needs to be called after a
> successful ab8500_bm_of_probe() call.
> This commit has only updated the remove function.
>
> Fix the error handling path of the probe the same way.
>
> Fixes: 6252c706cdb0 ("power: supply: ab8500: Standardize operating temperature")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

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

Yours,
Linus Walleij