aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2010-09-02 10:35:22 -0400
committerJiri Kosina <jkosina@suse.cz>2010-09-02 10:35:22 -0400
commit5c5daf571a59c88fd75b33105d068813d2f9d92c (patch)
tree4965b21eb157dd54c70ca2b55002b0e643e0ea08 /drivers/usb
parent1458ce166c1b333ecbaf8caa9f4f54eab3a522a7 (diff)
Revert "drivers/usb: Remove unnecessary return's from void functions" partially
This is a partial revert of 7f26b3a7533b ("drivers/usb: Remove unnecessary return's from void functions") as this hunk will go through USB tree due to conflict. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/langwell_udc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/langwell_udc.c b/drivers/usb/gadget/langwell_udc.c
index d41b69cf508b..c2d2a201f84b 100644
--- a/drivers/usb/gadget/langwell_udc.c
+++ b/drivers/usb/gadget/langwell_udc.c
@@ -284,6 +284,7 @@ static void ep0_reset(struct langwell_udc *dev)
284 } 284 }
285 285
286 VDBG(dev, "<--- %s()\n", __func__); 286 VDBG(dev, "<--- %s()\n", __func__);
287 return;
287} 288}
288 289
289 290
@@ -1485,6 +1486,7 @@ static void langwell_udc_start(struct langwell_udc *dev)
1485 writel(usbcmd, &dev->op_regs->usbcmd); 1486 writel(usbcmd, &dev->op_regs->usbcmd);
1486 1487
1487 DBG(dev, "<--- %s()\n", __func__); 1488 DBG(dev, "<--- %s()\n", __func__);
1489 return;
1488} 1490}
1489 1491
1490 1492
@@ -1507,6 +1509,7 @@ static void langwell_udc_stop(struct langwell_udc *dev)
1507 writel(usbcmd, &dev->op_regs->usbcmd); 1509 writel(usbcmd, &dev->op_regs->usbcmd);
1508 1510
1509 DBG(dev, "<--- %s()\n", __func__); 1511 DBG(dev, "<--- %s()\n", __func__);
1512 return;
1510} 1513}
1511 1514
1512 1515