Re: [PATCH v1] power: supply: core: Fix parsing of battery chemistry/technology
From: Linus Walleij <hidden>
Date: 2021-08-20 13:42:12
Also in:
lkml
From: Linus Walleij <hidden>
Date: 2021-08-20 13:42:12
Also in:
lkml
On Fri, Aug 20, 2021 at 1:51 AM Dmitry Osipenko [off-list ref] 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@gmail.com>Oops, Reviewed-by: Linus Walleij <redacted> Yours, Linus Walleij