projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4614fd6
)
spi: sh-msiof: Drop comma after OF match table sentinel
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Fri, 16 May 2025 13:32:04 +0000
(15:32 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 19 May 2025 10:55:18 +0000
(11:55 +0100)
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://patch.msgid.link/2ab5745407339ba54b63c3e6410082c7c566bf95.1747401908.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sh-msiof.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-sh-msiof.c
b/drivers/spi/spi-sh-msiof.c
index d9e3d83fc7e84e03765b4ba9d752aefb9cf6a364..325bd5890b78884da7b1e1a151787652f7569177 100644
(file)
--- a/
drivers/spi/spi-sh-msiof.c
+++ b/
drivers/spi/spi-sh-msiof.c
@@
-1101,7
+1101,7
@@
static const struct of_device_id sh_msiof_match[] __maybe_unused = {
{ .compatible = "renesas,rcar-gen3-msiof", .data = &rcar_gen3_data },
{ .compatible = "renesas,rcar-gen4-msiof", .data = &rcar_gen3_data },
{ .compatible = "renesas,sh-msiof", .data = &sh_data }, /* Deprecated */
- {
},
+ {
/* sentinel */ }
};
MODULE_DEVICE_TABLE(of, sh_msiof_match);