Re: [PATCH v1 0/3] mfd: Initialize spi_device_id arrays using member names

From: Lee Jones

Date: Thu Jul 09 2026 - 07:00:43 EST


On Thu, 02 Jul 2026 16:53:38 +0200, Uwe Kleine-König (The Capable Hub) wrote:
> this series targets to use named initializers for spi_device_id arrays.
> In general these are better readable for humans and more robust to
> changes in the respective struct definition.
>
> This robustness is needed as I want to do
>
> diff --git a/include/linux/device-id/spi.h b/include/linux/device-id/spi.h
> index 812e7c3854a7..93d9cd45569a 100644
> --- a/include/linux/device-id/spi.h
> +++ b/include/linux/device-id/spi.h
> @@ -13,7 +13,11 @@ typedef unsigned long kernel_ulong_t;
>
> [...]

Applied, thanks!

[1/3] mfd: Drop unused assignment of spi_device_id driver data
commit: 8339fb0eca348d41f04bb9631707192569f753e6
[2/3] mfd: Initialize spi_device_id arrays using member names
commit: bdaceafafa54b3fd4f9dba9e0044a910f16e4a2c
[3/3] mfd: Unify style of spi_device_id arrays
commit: 6384e5c5e0bcfbc9a915d70cb3925e0022d7b337

--
Lee Jones [李琼斯]