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.
Signed-off-by: Pawel Zalewski <[email protected]> --- drivers/mtd/maps/int0800.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/maps/int0800.c b/drivers/mtd/maps/int0800.c index 1f5a7c4936dd..feb721908989 100644 --- a/drivers/mtd/maps/int0800.c +++ b/drivers/mtd/maps/int0800.c @@ -88,7 +88,7 @@ static void int0800_remove(struct platform_device *pdev) } static const struct acpi_device_id int0800_ids[] = { - { "INT0800", 0 }, + { .id = "INT0800" }, { } }; MODULE_DEVICE_TABLE(acpi, int0800_ids); -- 2.53.0
