Re: [PATCH v1] platform/chrome: Use named initializers for struct i2c_device_id
From: Tzung-Bi Shih
Date: Wed May 20 2026 - 00:21:36 EST
On Tue, May 19, 2026 at 05:08:18PM +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.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next
[1/1] platform/chrome: Use named initializers for struct i2c_device_id
commit: ace8ee71e8ef4d6ef5a6501469df95237e1f7406
Thanks!