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
This commit is contained in:
Geert Uytterhoeven 2022-03-03 13:51:14 +01:00
parent 3238f82df0
commit 7bc53f59fb

View 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,