[PATCH 3/5] media: i2c: cvs: Use named initializers for acpi_device_id
From: Pawel Zalewski
Date: Thu Oct 29 2026 - 12:54:38 EST
Use a designated initializer for the acpi_device_id fields which makes the
code more readable and consistent with how lists are initialized in the
rest of the kernel code base.
Signed-off-by: Pawel Zalewski <pzalewski@xxxxxxxxxxxxxxxxxxxx>
---
drivers/media/i2c/cvs/core.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/media/i2c/cvs/core.c b/drivers/media/i2c/cvs/core.c
index d9c51e1c0fb5..ce9f45cf942a 100644
--- a/drivers/media/i2c/cvs/core.c
+++ b/drivers/media/i2c/cvs/core.c
@@ -961,10 +961,10 @@ static const struct dev_pm_ops __maybe_unused cvs_pm_ops = {
};
static const struct acpi_device_id intel_cvs_acpi_match[] = {
- { "INTC10DE" }, /* LNL */
- { "INTC10E0" }, /* ARL */
- { "INTC10E1" }, /* PTL */
- { "INTC10FA" }, /* NVL */
+ { .id = "INTC10DE" }, /* LNL */
+ { .id = "INTC10E0" }, /* ARL */
+ { .id = "INTC10E1" }, /* PTL */
+ { .id = "INTC10FA" }, /* NVL */
{ }
};
MODULE_DEVICE_TABLE(acpi, intel_cvs_acpi_match);
--
2.53.0