Re: [PATCH v3 1/3] ACPI: battery: add acpi_ prefix to the battery hook API
From: Rafael J. Wysocki (Intel)
Date: Tue Nov 10 2026 - 08:59:15 EST
On Mon, Nov 9, 2026 at 7:29 PM Rafael J. Wysocki (Intel)
<rafael@xxxxxxxxxx> wrote:
>
> On Wed, Oct 14, 2026 at 11:18 AM Ilpo Järvinen
> <ilpo.jarvinen@xxxxxxxxxxxxxxx> wrote:
> >
> > On Wed, 30 Sep 2026, Jordan Brough wrote:
> >
> > > Rename battery_hook_register(), battery_hook_unregister() and
> > > devm_battery_hook_register() to acpi_battery_hook_register(),
> > > acpi_battery_hook_unregister() and devm_acpi_battery_hook_register(), so
> > > that the exported ACPI battery hook API has a consistent namespace, and
> > > update all in-tree callers.
> > >
> > > No functional change.
> > >
> > > Signed-off-by: Jordan Brough <jordan@xxxxxxxxxx>
> >
> > Acked-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> >
> > With one known caveat! There's c72dd9994952 ("platform/x86: add Acer
> > battery control driver") in the pdx86 tree so if Rafael takes this like he
> > proposed in his reply to patch 2, that needs to be handled during merge.
>
> Well, I haven't applied it yet, so no worries.
>
> It's in my 7.5 queue ATM.
Patches [1-2/3] from the series applied as 7.5 material, thanks!