Re: [PATCH v1 1/2] pinctrl: Use named initializers for platform_device_id arrays
From: Geert Uytterhoeven
Date: Wed May 27 2026 - 11:52:10 EST
On Wed, 27 May 2026 at 17:43, Uwe Kleine-König (The Capable Hub)
<u.kleine-koenig@xxxxxxxxxxxx> wrote:
> Named initializers are better readable and more robust to changes of the
> struct definition. This robustness is relevant for a planned change to
> struct platform_device_id replacing .driver_data by an anonymous unit.
>
> While touching these arrays unify spacing and usage of commas.
>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
> drivers/pinctrl/renesas/core.c | 24 +++++++++++------------
Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> # renesas
Acked-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> # renesas
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
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