Re: [PATCH v4 19/20] mfd: Unify style of of_device_id arrays
From: Chen-Yu Tsai
Date: Tue Nov 10 2026 - 21:16:07 EST
On Wed, Nov 11, 2026 at 6:56 AM Uwe Kleine-König (The Capable Hub)
<u.kleine-koenig@xxxxxxxxxxxx> 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@xxxxxxxxxx> # for Maxim MAX77759
> Reviewed-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> # renesas
> Reviewed-by: Mathieu Dubois-Briand <mathieu.dubois-briand@xxxxxxxxxxx> # max7360
> Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
> ---
> drivers/mfd/88pm860x-core.c | 4 ++--
> drivers/mfd/ab8500-sysctrl.c | 4 ++--
> drivers/mfd/ac100.c | 2 +-
> drivers/mfd/act8945a.c | 4 ++--
> drivers/mfd/altera-a10sr.c | 2 +-
> drivers/mfd/altera-sysmgr.c | 2 +-
> drivers/mfd/arizona-i2c.c | 2 +-
> drivers/mfd/arizona-spi.c | 2 +-
> drivers/mfd/as3711.c | 4 ++--
> drivers/mfd/as3722.c | 4 ++--
> drivers/mfd/atmel-hlcdc.c | 2 +-
> drivers/mfd/atmel-smc.c | 2 +-
> drivers/mfd/axp20x-i2c.c | 2 +-
> drivers/mfd/axp20x-rsb.c | 2 +-
Acked-by: Chen-Yu Tsai <wens@xxxxxxxxxx> # axp20x