diff options
author | Geert Uytterhoeven | 2022-03-03 13:51:14 +0100 |
---|---|---|
committer | Geert Uytterhoeven | 2022-05-05 12:32:40 +0200 |
commit | 7bc53f59fbcad34599c99d07d6be1ff01849d457 (patch) | |
tree | 205ec39722ae7bdf3dc75b5d20915c89e26e3437 /arch/arm/mach-shmobile | |
parent | 3238f82df0cb7f8df000634ec16edf260fd039d8 (diff) |
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 <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/baaa4df6284401eb126573eb1c8ea5a88705cc37.1646311858.git.geert+renesas@glider.be
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c index 09ef73b99dd8..abea41f7782e 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, |