[PATCH 12/12] iio: temperature: max30208: use named initializers for acpi_device_id
From: Pawel Zalewski
Date: Mon Oct 05 2026 - 10:09:16 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/iio/temperature/max30208.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/temperature/max30208.c b/drivers/iio/temperature/max30208.c
index 6172abc6d533..80c148da1723 100644
--- a/drivers/iio/temperature/max30208.c
+++ b/drivers/iio/temperature/max30208.c
@@ -224,7 +224,7 @@ static const struct i2c_device_id max30208_id_table[] = {
MODULE_DEVICE_TABLE(i2c, max30208_id_table);
static const struct acpi_device_id max30208_acpi_match[] = {
- { "MAX30208" },
+ { .id = "MAX30208" },
{ }
};
MODULE_DEVICE_TABLE(acpi, max30208_acpi_match);
--
2.53.0