]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
pinctrl: max77620: Unify usage of space and comma in platform_device_id array
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Wed, 27 May 2026 15:43:01 +0000 (17:43 +0200)
committerLinus Walleij <linusw@kernel.org>
Fri, 29 May 2026 20:47:44 +0000 (22:47 +0200)
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@baylibre.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/pinctrl-max77620.c

index acb945a2574368b2e34659a902c34df8aad193d7..c47eccce7dc007159aacdf4c01c51af77b8e3858 100644 (file)
@@ -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);