mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
Revert "drivers/usb: Remove unnecessary return's from void functions" partially
This is a partial revert of 7f26b3a753
("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>
This commit is contained in:
parent
1458ce166c
commit
5c5daf571a
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue