diff mbox series

[v4,5/6] usb: renesas_usbhs: Remove trailing comma in the terminator entry for OF table

Message ID 20240318173319.201799-6-biju.das.jz@bp.renesas.com (mailing list archive)
State Accepted
Commit de9700f44d41d5ebdcbc0c5b5e1ffe7861eaffb1
Headers show
Series Fix USB pipe configuration for RZ/G2L | expand

Commit Message

Biju Das March 18, 2024, 5:33 p.m. UTC
Remove the trailing comma in the terminator entry for the OF table
making code robust against (theoretical) misrebases or other similar
things where the new entry goes _after_ the termination without the
compiler noticing.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v3->v4:
 * No change.
v2->v3:
 * No change.
v1->v2:
 * Added Rb tag from Geert.
---
 drivers/usb/renesas_usbhs/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c
index df94375f6c23..7ec1ab90fef3 100644
--- a/drivers/usb/renesas_usbhs/common.c
+++ b/drivers/usb/renesas_usbhs/common.c
@@ -597,7 +597,7 @@  static const struct of_device_id usbhs_of_match[] = {
 		.compatible = "renesas,rzg2l-usbhs",
 		.data = &usbhs_rzg2l_plat_info,
 	},
-	{ },
+	{ }
 };
 MODULE_DEVICE_TABLE(of, usbhs_of_match);