[PATCH v2 18/21] gpio: max77620: Unify style of platform_device_id arrays
From: Uwe Kleine-König (The Capable Hub)
Date: Wed Jul 15 2026 - 13:00:31 EST
Update the various platform_device_id arrays to conform to the most used
and generally recommended coding style. That is:
- no comma after the list terminator;
- a comma after an initializer if (and only if) the closing } is not
directly following;
- no explicit zeros in the list terminator;
- a space after an opening { and before a closing }, a single space in
the list terminator;
Adapt the single offender accordingly.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/gpio/gpio-max77620.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio/gpio-max77620.c b/drivers/gpio/gpio-max77620.c
index 2bf3b55a61b5..99ac7ffb650b 100644
--- a/drivers/gpio/gpio-max77620.c
+++ b/drivers/gpio/gpio-max77620.c
@@ -365,8 +365,8 @@ static int max77620_gpio_probe(struct platform_device *pdev)
}
static const struct platform_device_id max77620_gpio_devtype[] = {
- { .name = "max77620-gpio", },
- { .name = "max20024-gpio", },
+ { .name = "max77620-gpio" },
+ { .name = "max20024-gpio" },
{ }
};
MODULE_DEVICE_TABLE(platform, max77620_gpio_devtype);
--
2.55.0.11.g153666a7d9bb