From 3a03a5866e82027c0fa96f6208721397e5a6ff78 Mon Sep 17 00:00:00 2001 From: Pawel Zalewski Date: Wed, 16 Sep 2026 16:27:54 +0100 Subject: [PATCH] dmaengine: dw: use designated initializers for acpi_device_id Use a named 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 Reviewed-by: Andy Shevchenko Reviewed-by: Frank Li Link: https://patch.msgid.link/20260916-acpi-dma-v3-1-0dac05654967@thegoodpenguin.co.uk Signed-off-by: Vinod Koul --- drivers/dma/dw/platform.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/dma/dw/platform.c b/drivers/dma/dw/platform.c index c63fa52036d7..5c1c97eb28a4 100644 --- a/drivers/dma/dw/platform.c +++ b/drivers/dma/dw/platform.c @@ -141,14 +141,14 @@ MODULE_DEVICE_TABLE(of, dw_dma_of_id_table); #ifdef CONFIG_ACPI static const struct acpi_device_id dw_dma_acpi_id_table[] = { - { "INTL9C60", (kernel_ulong_t)&dw_dma_chip_pdata }, - { "80862286", (kernel_ulong_t)&dw_dma_chip_pdata }, - { "808622C0", (kernel_ulong_t)&dw_dma_chip_pdata }, + { .id = "INTL9C60", .driver_data = (kernel_ulong_t)&dw_dma_chip_pdata }, + { .id = "80862286", .driver_data = (kernel_ulong_t)&dw_dma_chip_pdata }, + { .id = "808622C0", .driver_data = (kernel_ulong_t)&dw_dma_chip_pdata }, /* Elkhart Lake iDMA 32-bit (PSE DMA) */ - { "80864BB4", (kernel_ulong_t)&xbar_chip_pdata }, - { "80864BB5", (kernel_ulong_t)&xbar_chip_pdata }, - { "80864BB6", (kernel_ulong_t)&xbar_chip_pdata }, + { .id = "80864BB4", .driver_data = (kernel_ulong_t)&xbar_chip_pdata }, + { .id = "80864BB5", .driver_data = (kernel_ulong_t)&xbar_chip_pdata }, + { .id = "80864BB6", .driver_data = (kernel_ulong_t)&xbar_chip_pdata }, { } };