Re: [PATCH v2 06/12] misc: Use named initializers for arrays of spi_device_data

From: Uwe Kleine-König (The Capable Hub)

Date: Fri Jul 17 2026 - 11:24:09 EST


Hello,

On Fri, Jul 17, 2026 at 04:50:52PM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> While being less compact, using named initializers allows to more easily
> see which members of the structs are assigned which value without having
> to lookup the declaration of the struct. And it's also more robust
> against changes to the struct definition.
>
> The mentioned robustness is relevant for a planned change to struct
> spi_device_id that replaces .driver_data by an anonymous union.
>
> While touching all these arrays, unify usage of whitespace.
>
> This patch doesn't modify the compiled arrays, only their representation
> in source form benefits.
>
> Signed-off-by: Uwe Kleine-König <ukleinek@xxxxxxxxxx>

I fatfingered From: and S-o-b:, this should be

From: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@xxxxxxxxxxxx>
and

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>

respectively.

🤦, I even anticipated that error, but used `git grep @kernel.org
*.patch` instead of plain `grep ...` and as the patches are not under
version control, git showed no matches and I wrongly thought to have
gotten this right.

If this version of the series is to be applied, I appreciate an
according fixup.

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature