[PATCH v3 21/23] mfd: Unify style of of_device_id arrays
Geert Uytterhoeven
geert at linux-m68k.org
Fri Jul 10 03:21:14 PDT 2026
On Thu, 9 Jul 2026 at 19:00, Uwe Kleine-König (The Capable Hub)
<u.kleine-koenig at baylibre.com> wrote:
> These arrays already mostly match 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 offenders accordingly.
>
> Reviewed-by: André Draszik <andre.draszik at linaro.org> # for Maxim MAX77759
> Reviewed-by: Charles Keepax <ckeepax at opensource.cirrus.com>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig at baylibre.com>
> drivers/mfd/rz-mtu3.c | 2 +-
Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be> # renesas
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the Linux-mediatek
mailing list