[PATCH v1 2/2] pinctrl: max77620: Unify usage of space and comma in platform_device_id array

From: Uwe Kleine-König (The Capable Hub)

Date: Wed May 27 2026 - 11:44:21 EST


The most accepted style for the array terminator is to use a single
space between the curly braces and no trailing comma. Also don't use a comma
directly before a closing brace in the other entries.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/pinctrl/pinctrl-max77620.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-max77620.c b/drivers/pinctrl/pinctrl-max77620.c
index acb945a25743..c47eccce7dc0 100644
--- a/drivers/pinctrl/pinctrl-max77620.c
+++ b/drivers/pinctrl/pinctrl-max77620.c
@@ -645,9 +645,9 @@ static const struct dev_pm_ops max77620_pinctrl_pm_ops = {
};

static const struct platform_device_id max77620_pinctrl_devtype[] = {
- { .name = "max77620-pinctrl", },
- { .name = "max20024-pinctrl", },
- {},
+ { .name = "max77620-pinctrl" },
+ { .name = "max20024-pinctrl" },
+ { }
};
MODULE_DEVICE_TABLE(platform, max77620_pinctrl_devtype);

--
2.47.3