projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ee6d1e
)
USB: ohci-at91: trivial return code name change
author
Nicolas Ferre
<nicolas.ferre@atmel.com>
Wed, 28 Mar 2012 09:49:01 +0000
(11:49 +0200)
committer
Nicolas Ferre
<nicolas.ferre@atmel.com>
Wed, 4 Apr 2012 16:35:33 +0000
(18:35 +0200)
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
drivers/usb/host/ohci-at91.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/ohci-at91.c
b/drivers/usb/host/ohci-at91.c
index 7cf4797a601eb5359f3844821d6f367fb1745256..09f597ad6e00ad739ab4e0924800a0c81e0abbfc 100644
(file)
--- a/
drivers/usb/host/ohci-at91.c
+++ b/
drivers/usb/host/ohci-at91.c
@@
-552,10
+552,9
@@
static int ohci_hcd_at91_drv_probe(struct platform_device *pdev)
int gpio;
int ret;
- i = ohci_at91_of_init(pdev);
-
- if (i)
- return i;
+ ret = ohci_at91_of_init(pdev);
+ if (ret)
+ return ret;
pdata = pdev->dev.platform_data;