Re: (subset) [PATCH v2] leds: pca955x: drop platform data and allocate LEDs with the device

From: Lee Jones

Date: Thu Oct 15 2026 - 12:54:05 EST


On Mon, 05 Oct 2026 13:09:06 -0700, Rosen Penev wrote:
> struct pca955x_platform_data has been private to this driver since
> commit ed1f4b9676a8 ("leds: pca955x: add device tree support"), so
> nothing can pass it in through dev_get_platdata() and it only serves
> as an intermediate copy of the per-LED type, default state and fwnode.
> That copy is a full array of struct pca955x_led, the same runtime
> structure that struct pca955x already holds, so the data is stored
> twice.
>
> [...]

Applied, thanks!

[1/1] leds: pca955x: drop platform data and allocate LEDs with the device
commit: 7260db6364a2999f2f85bae8afb6b4d22e41fc8a

--
Lee Jones [李琼斯]