Skip to content

Commit

Permalink
usb: typec: tcpci_rt1711h: Remove trailing comma in the terminator en…
Browse files Browse the repository at this point in the history
…try for OF table

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>
  • Loading branch information
Biju Das authored and Greg Kroah-Hartman committed Oct 2, 2023
1 parent 60958b3 commit 343a9d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/typec/tcpm/tcpci_rt1711h.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,15 +394,15 @@ 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);

#ifdef CONFIG_OF
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
Expand Down

0 comments on commit 343a9d3

Please sign in to comment.