[PATCH v1] phy: nxp-ptn3222: Use named initializers for struct i2c_device_id

Vinod Koul vkoul at kernel.org
Thu Jun 11 08:35:29 PDT 2026


On Tue, 19 May 2026 17:19:57 +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, thanks!

[1/1] phy: nxp-ptn3222: Use named initializers for struct i2c_device_id
      commit: 4904117935319233b1ec8f0528560dc91e8ae4c2

Best regards,
-- 
~Vinod





More information about the linux-phy mailing list