summaryrefslogtreecommitdiff
path: root/drivers/usb/chipidea
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-04-28 14:33:59 +0800
committerPeter Chen <peter.chen@nxp.com>2020-04-29 09:47:19 +0800
commit4ee2fc81a631a3a2a45f3f6939323e8a5fea1e29 (patch)
tree9dd701dd7a82219c994b302fd39fcf2362be98bc /drivers/usb/chipidea
parent95caa2ae70fdbf626335700d24400f47c12825ee (diff)
usb: chipidea: usb2: remove unneeded semicolon
Fix the following coccicheck warning: drivers/usb/chipidea/ci_hdrc_usb2.c:75:28-29: Unneeded semicolon Fixes: c2de37b31f17 ("usb: chipidea: usb2: make clock optional") Reviewed-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb/chipidea')
-rw-r--r--drivers/usb/chipidea/ci_hdrc_usb2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_usb2.c b/drivers/usb/chipidea/ci_hdrc_usb2.c
index 93c864759135..89e1d82d739b 100644
--- a/drivers/usb/chipidea/ci_hdrc_usb2.c
+++ b/drivers/usb/chipidea/ci_hdrc_usb2.c
@@ -72,7 +72,7 @@ static int ci_hdrc_usb2_probe(struct platform_device *pdev)
priv->clk = devm_clk_get_optional(dev, NULL);
if (IS_ERR(priv->clk))
- return PTR_ERR(priv->clk);;
+ return PTR_ERR(priv->clk);
ret = clk_prepare_enable(priv->clk);
if (ret) {