Re: [PATCH] eeprom: at24: Use named initializers for arrays of i2c_device_data

From: Bartosz Golaszewski

Date: Wed May 20 2026 - 11:47:52 EST



On Tue, 19 May 2026 11:38:05 +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
> i2c_device_id that replaces .driver_data by an anonymous union.
>
> [...]

Applied, thanks!

[1/1] eeprom: at24: Use named initializers for arrays of i2c_device_data
https://git.kernel.org/brgl/c/b4c01497688528fc04c717842f8f310569f52629

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>