ARM: shmobile: rcar-gen2: Drop comma after OF match table sentinel
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 3 Mar 2022 12:51:14 +0000 (13:51 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 5 May 2022 10:32:40 +0000 (12:32 +0200)
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 <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/baaa4df6284401eb126573eb1c8ea5a88705cc37.1646311858.git.geert+renesas@glider.be
arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c

index 09ef73b..abea41f 100644 (file)
@@ -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,