Re: [PATCH v5 16/17] mfd: Unify style of of_device_id arrays

From: Matti Vaittinen

Date: Mon Nov 23 2026 - 09:26:35 EST


On 23/11/2026 13:18, Uwe Kleine-König wrote:
From: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>

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>

Reviewed-by: Matti Vaittinen <mazziesaccountw@xxxxxxxxx> # rohm

--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductor
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~