Re: [PATCH] gpio: Initialize all i2c_device_id arrays using member names
From: Bartosz Golaszewski
Date: Wed May 20 2026 - 09:28:57 EST
On Wed, 20 May 2026 09:48:12 +0200, Uwe Kleine-König (The Capable Hub) wrote:
> The previously applied similar commit 553e26a45e0e ("gpio: Initialize
> i2c_device_id arrays using member names") only handled i2c_device_id
> arrays that also have an assignment for .driver_data.
>
> For consistency also convert the entries without such an assignment.
> Again this is a modification that has no influence on the generated
> code, it's only more robust against changes to struct i2c_device_id and
> easier to understand for a human.
>
> [...]
Applied, thanks!
[1/1] gpio: Initialize all i2c_device_id arrays using member names
https://git.kernel.org/brgl/c/c010a78304a648fd13556aff63e60a83f35d23c9
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>