[PATCH v1] i3c: mipi-i3c-hci: Use named initializers for platform_device_id's .driver_data
Alexandre Belloni
alexandre.belloni at bootlin.com
Tue Jun 16 15:28:00 PDT 2026
On Tue, 16 Jun 2026 16:34:20 +0200, Uwe Kleine-König (The Capable Hub) wrote:
> The assignment in this driver uses a mixed way to initialize the
> platform_device_id array. .name is assigned by name and .driver_data by
> position. Unify that to use named assignment for both struct members.
> This is needed for a planned change to struct platform_device_id
> replacing .driver_data by an anonymous union.
>
>
> [...]
Applied, thanks!
[1/1] i3c: mipi-i3c-hci: Use named initializers for platform_device_id's .driver_data
https://git.kernel.org/i3c/c/678e9409dd78
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the linux-i3c
mailing list