Re: [PATCH] power: supply: gpio-charger: Keep properties per device

From: Sebastian Reichel

Date: Sun Nov 15 2026 - 19:21:13 EST



On Tue, 10 Nov 2026 13:50:21 +0800, raoxu wrote:
> gpio_charger_properties is a global array that is overwritten during
> each device probe according to the optional GPIO features present on
> that device. When more than one gpio-charger is registered, a later
> probe can therefore change the property list referenced by an already
> registered power supply.
>
> Store the property array in struct gpio_charger so each power supply
> keeps the property list built for its own device.
>
> [...]

Applied, thanks!

[1/1] power: supply: gpio-charger: Keep properties per device
commit: fad4655224f60328cc9bcf4399eda8f6d7a587a6

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