From: Geert Uytterhoeven Date: Fri, 16 May 2025 13:32:04 +0000 (+0200) Subject: spi: sh-msiof: Drop comma after OF match table sentinel X-Git-Tag: v6.16-rc1~166^2~8^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e1c7d0591ac4054c67529e200a9edfaf5344f4a;p=thirdparty%2Flinux.git 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 Link: https://patch.msgid.link/2ab5745407339ba54b63c3e6410082c7c566bf95.1747401908.git.geert+renesas@glider.be Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c index d9e3d83fc7e84..325bd5890b788 100644 --- 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);