[PATCH v2 07/12] misc: mei: Use named initializers for acpi_device_id array

From: Uwe Kleine-König (The Capable Hub)

Date: Fri Jul 17 2026 - 10:57:50 EST


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.

While touching this array, add a space to the list terminator to make it
match the most common usage.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/misc/mei/vsc-tp.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/misc/mei/vsc-tp.c b/drivers/misc/mei/vsc-tp.c
index 5ecf99883996..432bc59f11f9 100644
--- a/drivers/misc/mei/vsc-tp.c
+++ b/drivers/misc/mei/vsc-tp.c
@@ -552,11 +552,11 @@ static void vsc_tp_remove(struct spi_device *spi)
}

static const struct acpi_device_id vsc_tp_acpi_ids[] = {
- { "INTC1009" }, /* Raptor Lake */
- { "INTC1058" }, /* Tiger Lake */
- { "INTC1094" }, /* Alder Lake */
- { "INTC10D0" }, /* Meteor Lake */
- {}
+ { .id = "INTC1009" }, /* Raptor Lake */
+ { .id = "INTC1058" }, /* Tiger Lake */
+ { .id = "INTC1094" }, /* Alder Lake */
+ { .id = "INTC10D0" }, /* Meteor Lake */
+ { }
};
MODULE_DEVICE_TABLE(acpi, vsc_tp_acpi_ids);

--
2.55.0.11.g153666a7d9bb