aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/renesas/pfc-r8a73a4.c
diff options
context:
space:
mode:
authorGravatar Geert Uytterhoeven <geert+renesas@glider.be> 2023-03-08 11:44:27 +0100
committerGravatar Geert Uytterhoeven <geert+renesas@glider.be> 2023-03-30 15:39:05 +0200
commit0256b6aeee11d705ae248c5a47aa0867976b00a5 (patch)
treef43f7e2c090a85f198a45e29f1141de2c2aaa70b /drivers/pinctrl/renesas/pfc-r8a73a4.c
parentpinctrl: renesas: r8a779g0: Add support for AVB/TSN power-sources (diff)
downloadlinux-0256b6aeee11d705ae248c5a47aa0867976b00a5.tar.gz
linux-0256b6aeee11d705ae248c5a47aa0867976b00a5.tar.bz2
linux-0256b6aeee11d705ae248c5a47aa0867976b00a5.zip
pinctrl: renesas: Annotate sentinels in tables
It does not make sense to have a comma after a sentinel, as any new elements must be added before the sentinel. Hence drop all such commas. Add comments to clarify the purpose of the empty elements. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/845f1d8285dd44522af1b0f429d4c6bd4759eb9e.1678272180.git.geert+renesas@glider.be
Diffstat (limited to 'drivers/pinctrl/renesas/pfc-r8a73a4.c')
-rw-r--r--drivers/pinctrl/renesas/pfc-r8a73a4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/renesas/pfc-r8a73a4.c b/drivers/pinctrl/renesas/pfc-r8a73a4.c
index dbfc46fe2f27..be0a4914eab3 100644
--- a/drivers/pinctrl/renesas/pfc-r8a73a4.c
+++ b/drivers/pinctrl/renesas/pfc-r8a73a4.c
@@ -2384,7 +2384,7 @@ static const struct pinmux_cfg_reg pinmux_config_regs[] = {
MSEL8CR_00_0, MSEL8CR_00_1,
))
},
- { },
+ { /* sentinel */ }
};
static const struct pinmux_data_reg pinmux_data_regs[] = {
@@ -2510,7 +2510,7 @@ static const struct pinmux_data_reg pinmux_data_regs[] = {
PORT323_DATA, PORT322_DATA, PORT321_DATA, PORT320_DATA,
))
},
- { },
+ { /* sentinel */ }
};
static const struct pinmux_irq pinmux_irqs[] = {