mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
dmaengine: xgene-dma: use named initializers for acpi_device_id
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. Also drop explicitly setting fields to 0 where it is redundant. Unify the list terminator to have a single space between the brackets and no trailing comma. Signed-off-by: Pawel Zalewski <pzalewski@thegoodpenguin.co.uk> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260916-acpi-dma-v3-4-0dac05654967@thegoodpenguin.co.uk Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
db09763394
commit
b2c203a587
|
|
@ -1800,8 +1800,8 @@ static void xgene_dma_remove(struct platform_device *pdev)
|
|||
|
||||
#ifdef CONFIG_ACPI
|
||||
static const struct acpi_device_id xgene_dma_acpi_match_ptr[] = {
|
||||
{"APMC0D43", 0},
|
||||
{},
|
||||
{ .id = "APMC0D43" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(acpi, xgene_dma_acpi_match_ptr);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user