usb: renesas_usbhs: Remove trailing comma in the terminator entry for OF table
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 19 Mar 2024 10:53:55 +0000 (10:53 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Mar 2024 06:57:16 +0000 (07:57 +0100)
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>
Link: https://lore.kernel.org/r/20240319105356.87287-6-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/renesas_usbhs/common.c

index b436927c271170ee142888204f6ecc24e819c2e2..b6bef9081bf275f0a36bb64601a584c275f46972 100644 (file)
@@ -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);