[PATCH 03/12] iio: dac: use named initializers for acpi_device_id

From: Pawel Zalewski

Date: Mon Oct 05 2026 - 10:07:59 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/dac/ad5592r.c | 2 +-
drivers/iio/dac/ad5593r.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/iio/dac/ad5592r.c b/drivers/iio/dac/ad5592r.c
index 88197bc6a70b..3a71b23f85d6 100644
--- a/drivers/iio/dac/ad5592r.c
+++ b/drivers/iio/dac/ad5592r.c
@@ -147,7 +147,7 @@ static const struct of_device_id ad5592r_of_match[] = {
MODULE_DEVICE_TABLE(of, ad5592r_of_match);

static const struct acpi_device_id ad5592r_acpi_match[] = {
- {"ADS5592", },
+ { .id = "ADS5592" },
{ }
};
MODULE_DEVICE_TABLE(acpi, ad5592r_acpi_match);
diff --git a/drivers/iio/dac/ad5593r.c b/drivers/iio/dac/ad5593r.c
index 3e4215f0ca7e..520170c44c51 100644
--- a/drivers/iio/dac/ad5593r.c
+++ b/drivers/iio/dac/ad5593r.c
@@ -126,7 +126,7 @@ static const struct of_device_id ad5593r_of_match[] = {
MODULE_DEVICE_TABLE(of, ad5593r_of_match);

static const struct acpi_device_id ad5593r_acpi_match[] = {
- {"ADS5593", },
+ { .id = "ADS5593" },
{ }
};
MODULE_DEVICE_TABLE(acpi, ad5593r_acpi_match);

--
2.53.0