Re: [PATCH v1] power: supply: core: Fix parsing of battery chemistry/technology

From: Sebastian Reichel
Date: Fri Aug 20 2021 - 12:59:17 EST


Hi,

On Fri, Aug 20, 2021 at 03:41:56PM +0200, Linus Walleij wrote:
> On Fri, Aug 20, 2021 at 1:51 AM Dmitry Osipenko <digetx@xxxxxxxxx> wrote:
>
> > The power_supply_get_battery_info() fails if device-chemistry property
> > is missing in a device-tree because error variable is propagated to the
> > final return of the function, fix it.
> >
> > Fixes: 4eef766b7d4d ("power: supply: core: Parse battery chemistry/technology")
> > Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
>
> Oops,
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks, queued.

-- Sebastian

Attachment: signature.asc
Description: PGP signature