Re: [PATCH v2] power: supply: move power_supply_attr_groups definition back to sysfs

From: Sebastian Reichel
Date: Tue Mar 05 2024 - 19:24:39 EST



On Sun, 03 Mar 2024 13:30:50 -0300, Ricardo B. Marliere wrote:
> As reported by the kernel test robot, 'power_supply_attr_group' is defined
> but not used when CONFIG_SYSFS is not set. Sebastian suggested that the
> correct fix implemented by this patch, instead of my attempt in commit
> ea4367c40c79 ("power: supply: core: move power_supply_attr_group into #ifdef
> block"), is to define power_supply_attr_groups in power_supply_sysfs.c and
> expose it in the power_supply.h header. For the case where CONFIG_SYSFS=n,
> define it as NULL.
>
> [...]

Applied, thanks!

[1/1] power: supply: move power_supply_attr_groups definition back to sysfs
commit: f107e6b82392a4d64507e219c57235d3fe09e9d7

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>