Commit 94203e1a authored by Paul Cercueil's avatar Paul Cercueil Committed by Greg Kroah-Hartman

usb: musb: jz4740: Comments fix

Add a /* sentinel */ comment to the sentinel entry of the devicetree ID
table, and fix a multi-line comment not having its opening token on a
separate line.
Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarBin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200115132547.364-16-b-liu@ti.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 90fad5d7
...@@ -82,7 +82,8 @@ static int jz4740_musb_init(struct musb *musb) ...@@ -82,7 +82,8 @@ static int jz4740_musb_init(struct musb *musb)
return err; return err;
} }
/* Silicon does not implement ConfigData register. /*
* Silicon does not implement ConfigData register.
* Set dyn_fifo to avoid reading EP config from hardware. * Set dyn_fifo to avoid reading EP config from hardware.
*/ */
musb->dyn_fifo = true; musb->dyn_fifo = true;
...@@ -188,7 +189,7 @@ static int jz4740_remove(struct platform_device *pdev) ...@@ -188,7 +189,7 @@ static int jz4740_remove(struct platform_device *pdev)
#ifdef CONFIG_OF #ifdef CONFIG_OF
static const struct of_device_id jz4740_musb_of_match[] = { static const struct of_device_id jz4740_musb_of_match[] = {
{ .compatible = "ingenic,jz4740-musb" }, { .compatible = "ingenic,jz4740-musb" },
{}, { /* sentinel */ },
}; };
MODULE_DEVICE_TABLE(of, jz4740_musb_of_match); MODULE_DEVICE_TABLE(of, jz4740_musb_of_match);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment