[PATCH v4 19/20] mfd: Unify style of of_device_id arrays

Luca Ceresoli luca.ceresoli at bootlin.com
Tue Nov 10 21:54:25 PST 2026


On Tue Nov 10, 2026 at 10:54 PM CET, Uwe Kleine-König (The Capable Hub) 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>
> Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be> # renesas
> Reviewed-by: Mathieu Dubois-Briand <mathieu.dubois-briand at bootlin.com> # max7360
> Reviewed-by: Linus Walleij <linusw at kernel.org>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig at baylibre.com>

Reviewed-by: Luca Ceresoli <luca.ceresoli at bootlin.com> # max*

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the Linux-mediatek mailing list