Re: [PATCH] gpio: Initialize i2c_device_id arrays using member names

From: Bartosz Golaszewski

Date: Mon May 18 2026 - 03:50:12 EST



On Tue, 12 May 2026 17:21:25 +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] gpio: Initialize i2c_device_id arrays using member names
https://git.kernel.org/brgl/c/553e26a45e0e66698c1e0043b705933102ac3edc

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