diff options
author | 2023-03-08 11:44:27 +0100 | |
---|---|---|
committer | 2023-03-30 15:39:05 +0200 | |
commit | 0256b6aeee11d705ae248c5a47aa0867976b00a5 (patch) | |
tree | f43f7e2c090a85f198a45e29f1141de2c2aaa70b /drivers/pinctrl/renesas/pinctrl-rzn1.c | |
parent | pinctrl: renesas: r8a779g0: Add support for AVB/TSN power-sources (diff) | |
download | linux-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/pinctrl-rzn1.c')
-rw-r--r-- | drivers/pinctrl/renesas/pinctrl-rzn1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/renesas/pinctrl-rzn1.c b/drivers/pinctrl/renesas/pinctrl-rzn1.c index 9158c1757492..8c4425fd7b06 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzn1.c +++ b/drivers/pinctrl/renesas/pinctrl-rzn1.c @@ -931,7 +931,7 @@ static int rzn1_pinctrl_remove(struct platform_device *pdev) static const struct of_device_id rzn1_pinctrl_match[] = { { .compatible = "renesas,rzn1-pinctrl", }, - {} + { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, rzn1_pinctrl_match); |