USB: ohci-at91: trivial return code name change
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 28 Mar 2012 09:49:01 +0000 (11:49 +0200)
committerNicolas 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

index 7cf4797..09f597a 100644 (file)
@@ -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;