usb: typec: tcpci_rt1711h: Remove trailing comma in the terminator entry for OF table
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 6 Sep 2023 08:06:15 +0000 (09:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Oct 2023 11:56:08 +0000 (13:56 +0200)
Remove trailing comma in the terminator entry for OF table.
While at it, drop a space in the terminator for ID table.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20230906080619.36930-2-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci_rt1711h.c

index 17ebc5fb684f9f56e7f91a695621a401dd31ee9a..6146bca8e55f4a6ef63a850eac3b2f50a4a59448 100644 (file)
@@ -394,7 +394,7 @@ static void rt1711h_remove(struct i2c_client *client)
 static const struct i2c_device_id rt1711h_id[] = {
        { "rt1711h", 0 },
        { "rt1715", 0 },
-       { }
+       {}
 };
 MODULE_DEVICE_TABLE(i2c, rt1711h_id);
 
@@ -402,7 +402,7 @@ MODULE_DEVICE_TABLE(i2c, rt1711h_id);
 static const struct of_device_id rt1711h_of_match[] = {
        { .compatible = "richtek,rt1711h", .data = (void *)RT1711H_DID },
        { .compatible = "richtek,rt1715", .data = (void *)RT1715_DID },
-       {},
+       {}
 };
 MODULE_DEVICE_TABLE(of, rt1711h_of_match);
 #endif