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>
};
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);