[PATCH v1 4/5] pwm: Unify coding style of of_device_id arrays
Geert Uytterhoeven
geert at linux-m68k.org
Mon Jul 6 01:00:43 PDT 2026
On Sun, 5 Jul 2026 at 17:14, Uwe Kleine-König (The Capable Hub)
<u.kleine-koenig at baylibre.com> wrote:
> - Use a single space in a of_device_id array terminator; A single space
> after the opening { and before the closing } in non-empty
> initializers;
> - No comma after an array terminator;
> - Also no trailing comma after a named initializer iff the
> closing } is on the same line;
>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig at baylibre.com>
> drivers/pwm/pwm-rcar.c | 4 ++--
> drivers/pwm/pwm-renesas-tpu.c | 10 +++++-----
> drivers/pwm/pwm-rzg2l-gpt.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-rockchip
mailing list