summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2010-09-02 16:35:22 +0200
committerJiri Kosina <jkosina@suse.cz>2010-09-02 16:35:22 +0200
commit5c5daf571a59c88fd75b33105d068813d2f9d92c (patch)
tree4965b21eb157dd54c70ca2b55002b0e643e0ea08 /drivers/usb
parentidr: describe how nextidp works in idr_get_next(). (diff)
downloadlinux-5c5daf571a59c88fd75b33105d068813d2f9d92c.tar.xz
linux-5c5daf571a59c88fd75b33105d068813d2f9d92c.zip
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)
}
VDBG(dev, "<--- %s()\n", __func__);
+ return;
}
@@ -1485,6 +1486,7 @@ static void langwell_udc_start(struct langwell_udc *dev)
writel(usbcmd, &dev->op_regs->usbcmd);
DBG(dev, "<--- %s()\n", __func__);
+ return;
}
@@ -1507,6 +1509,7 @@ static void langwell_udc_stop(struct langwell_udc *dev)
writel(usbcmd, &dev->op_regs->usbcmd);
DBG(dev, "<--- %s()\n", __func__);
+ return;
}