firmware: coreboot: Use named 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. Also
drop explicitly setting fields to 0 where it is redundant.

Signed-off-by: Pawel Zalewski <pzalewski@thegoodpenguin.co.uk>
Link: https://lore.kernel.org/r/20260907-acpi-firmware-v2-1-e0b6d40823d1@thegoodpenguin.co.uk
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
This commit is contained in:
Pawel Zalewski 2026-09-07 15:00:45 +01:00 committed by Tzung-Bi Shih
parent 44e33a5aaa
commit 0e30b98a54

View File

@ -250,8 +250,8 @@ static void coreboot_table_remove(struct platform_device *pdev)
#ifdef CONFIG_ACPI
static const struct acpi_device_id cros_coreboot_acpi_match[] = {
{ "GOOGCB00", 0 },
{ "BOOT0000", 0 },
{ .id = "GOOGCB00" },
{ .id = "BOOT0000" },
{ }
};
MODULE_DEVICE_TABLE(acpi, cros_coreboot_acpi_match);