Skip to content

Commit

Permalink
usb: Drop commas after SoC match table sentinels
Browse files Browse the repository at this point in the history
It does not make sense to have a comma after a sentinel, as any new
elements must be added before the sentinel.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/5cae409f647272a5679291ebc0000bfeccc14160.1646311762.git.geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
geertu authored and gregkh committed Mar 3, 2022
1 parent 4bf2283 commit f8a98c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/udc/renesas_usb3.c
Original file line number Diff line number Diff line change
Expand Up @@ -2730,7 +2730,7 @@ static const struct soc_device_attribute renesas_usb3_quirks_match[] = {
.soc_id = "r8a7795", .revision = "ES1.*",
.data = &renesas_usb3_priv_r8a7795_es1,
},
{ /* sentinel */ },
{ /* sentinel */ }
};

static const unsigned int renesas_usb3_cable[] = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-rcar.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static const struct soc_device_attribute rcar_quirks_match[] = {
.soc_id = "r8a7795", .revision = "ES1.*",
.data = (void *)RCAR_XHCI_FIRMWARE_V2,
},
{ /* sentinel */ },
{ /* sentinel */ }
};

static void xhci_rcar_start_gen2(struct usb_hcd *hcd)
Expand Down

0 comments on commit f8a98c4

Please sign in to comment.