]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i3c: mipi-i3c-hci: Use named initializers for platform_device_id's .driver_data
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Tue, 16 Jun 2026 14:34:20 +0000 (16:34 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Jun 2026 21:19:45 +0000 (23:19 +0200)
commit678e9409dd78d5c080607df15c6f346c7edb03d0
tree6a6d6fbc05febabfb15cbcca0aff4c378345def2
parent225b76e2a711dc061ec337befba49dd3ee75e534
i3c: mipi-i3c-hci: Use named initializers for platform_device_id's .driver_data

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.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://patch.msgid.link/7c006616f72748fb4deccd197ca2b6427c006f79.1781620397.git.ukleinek@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/mipi-i3c-hci/core.c