Skip to content

Commit 0e1c7d0

Browse files
geertubroonie
authored andcommitted
spi: sh-msiof: 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 <[email protected]> Link: https://patch.msgid.link/2ab5745407339ba54b63c3e6410082c7c566bf95.1747401908.git.geert+renesas@glider.be Signed-off-by: Mark Brown <[email protected]>
1 parent 4614fd6 commit 0e1c7d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-sh-msiof.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ static const struct of_device_id sh_msiof_match[] __maybe_unused = {
11011101
{ .compatible = "renesas,rcar-gen3-msiof", .data = &rcar_gen3_data },
11021102
{ .compatible = "renesas,rcar-gen4-msiof", .data = &rcar_gen3_data },
11031103
{ .compatible = "renesas,sh-msiof", .data = &sh_data }, /* Deprecated */
1104-
{},
1104+
{ /* sentinel */ }
11051105
};
11061106
MODULE_DEVICE_TABLE(of, sh_msiof_match);
11071107

0 commit comments

Comments
 (0)