From: Geert Uytterhoeven Date: Thu, 3 Mar 2022 12:51:14 +0000 (+0100) Subject: ARM: shmobile: rcar-gen2: Drop comma after OF match table sentinel X-Git-Tag: v6.1-rc5~1260^2~6^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7bc53f59fbcad34599c99d07d6be1ff01849d457;p=platform%2Fkernel%2Flinux-starfive.git ARM: shmobile: rcar-gen2: Drop comma after OF match table sentinel It does not make sense to have a comma after a sentinel, as any new elements must be added before the sentinel. Add a comment to clarify the purpose of the empty element. Signed-off-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/baaa4df6284401eb126573eb1c8ea5a88705cc37.1646311858.git.geert+renesas@glider.be --- diff --git a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c index 09ef73b..abea41f 100644 --- a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c +++ b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c @@ -67,7 +67,7 @@ static const struct of_device_id rcar_gen2_quirk_match[] = { { .compatible = "dlg,da9063", .data = &da9063_msg }, { .compatible = "dlg,da9063l", .data = &da9063_msg }, { .compatible = "dlg,da9210", .data = &da9210_msg }, - {}, + { /* sentinel */ } }; static int regulator_quirk_notify(struct notifier_block *nb,