projects
/
linux-2.6-microblaze.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
|
history
diff --git
a/drivers/usb/host/ohci-at91.c
b/drivers/usb/host/ohci-at91.c
index
7cf4797
..
09f597a
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;