]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
gpio: 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 14:57:29 +0000 (16:57 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Thu, 28 May 2026 08:47:05 +0000 (10:47 +0200)
The most accepted style for the array terminator is to use a single
space between the curly braces and no trailing comma.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/985c86e80f35a944a4712f0c2ac8dd795868cdfb.1779893336.git.u.kleine-koenig@baylibre.com
[Bartosz: Fixed Uwe's S-B]
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpio-max77620.c

index e6c85411c695eea12b948d64a3bbad9a327439a4..2bf3b55a61b5e58118f9c75e4f4cd55fb13c64f9 100644 (file)
@@ -367,7 +367,7 @@ static int max77620_gpio_probe(struct platform_device *pdev)
 static const struct platform_device_id max77620_gpio_devtype[] = {
        { .name = "max77620-gpio", },
        { .name = "max20024-gpio", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(platform, max77620_gpio_devtype);