Re: [PATCH v1] auxdisplay: Use designated initializers for arrays of i2c_device_data
From: Andy Shevchenko
Date: Fri Nov 27 2026 - 06:59:58 EST
On Fri, 27 Nov 2026 11:45:51 +0100, Uwe Kleine-König wrote:
> While being less compact, using designated 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] auxdisplay: Use designated initializers for arrays of i2c_device_data
commit: ae50e64cd87a9a285f2b40c59c89ade0d2b57833
Best regards,
--
With Best Regards,
Andy Shevchenko