[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <pndikd4tql3.a.out@axis.com>
Date: Wed, 14 Jan 2026 11:51:20 +0100
From: Waqar Hameed <waqar.hameed@...s.com>
To: Sebastian Reichel <sebastian.reichel@...labora.com>
CC: <kernel@...s.com>, <linux-pm@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/3] power: supply: wm97xx: Use
devm_power_supply_register()
On Mon, Jan 12, 2026 at 02:36 +0100 Sebastian Reichel <sebastian.reichel@...labora.com> wrote:
[...]
>> @@ -257,7 +254,6 @@ static void wm97xx_bat_remove(struct platform_device *dev)
>> if (charge_gpiod)
>> free_irq(gpiod_to_irq(charge_gpiod), dev);
>> cancel_work_sync(&bat_work);
>> - power_supply_unregister(bat_psy);
>> kfree(prop);
>> }
>
> This free's prop before bat_psy. You fix that in the next patch, but
> to be bisectable those two patches must be swapped.
Ah, of course! Let's swap the patches in v2.
Powered by blists - more mailing lists