Re: [PATCH] power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init

From: Linus Walleij
Date: Fri Feb 11 2022 - 16:32:50 EST


On Fri, Feb 11, 2022 at 9:04 PM Sebastian Reichel
<sebastian.reichel@xxxxxxxxxxxxx> wrote:

> > Fixes: 8c0984e5a753 ("power: move power supply drivers to power/supply")
> > Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
> > ---
>
> Thanks, queued power-supply's for-next branch.
>
> Linus, if I'm not mistaken the custom sysfs ABI (i.e. everything related
> to ab8500_fg_sysfs_init() can just be removed since the same thing is
> already exposed standardized via POWER_SUPPLY_PROP_CHARGE_FULL and
> POWER_SUPPLY_PROP_CHARGE_NOW?

Yes, I delete other weird custom sysfs, so I'll cook a patch to
get rid of this too.

Yours,
Linus Walleij