Commit 1887ab2b authored by Nicolas Ferre's avatar Nicolas Ferre

USB: ohci-at91: trivial return code name change

Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
parent 0ee6d1ee
...@@ -552,10 +552,9 @@ static int ohci_hcd_at91_drv_probe(struct platform_device *pdev) ...@@ -552,10 +552,9 @@ static int ohci_hcd_at91_drv_probe(struct platform_device *pdev)
int gpio; int gpio;
int ret; int ret;
i = ohci_at91_of_init(pdev); ret = ohci_at91_of_init(pdev);
if (ret)
if (i) return ret;
return i;
pdata = pdev->dev.platform_data; pdata = pdev->dev.platform_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment