usb: phy: omap-usb3: Fix return value
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 16 Sep 2013 05:40:10 +0000 (11:10 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 17 Sep 2013 16:05:30 +0000 (11:05 -0500)
The function returns a pointer. Hence return NULL instead of 0.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-omap-usb3.c

index fc15694..4e8a040 100644 (file)
@@ -79,7 +79,7 @@ static struct usb_dpll_params *omap_usb3_get_dpll_params(unsigned long rate)
                        return &dpll_map[i].params;
        }
 
-       return 0;
+       return NULL;
 }
 
 static int omap_usb3_suspend(struct usb_phy *x, int suspend)