Re: [PATCH v1] platform: arm64 Use named initializers for struct i2c_device_id
From: Ilpo Järvinen
Date: Thu May 28 2026 - 08:14:09 EST
On Tue, 19 May 2026 16:43:41 +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.
>
> This patch doesn't modify the compiled arrays, only their representation
> in source form benefits. The former was confirmed with x86 and arm64
> builds.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform: arm64 Use named initializers for struct i2c_device_id
commit: fbab18baaf9a3fe45c6fd75dab7f5b7f6992356f
--
i.