From: Sachin Kamat Date: Mon, 16 Sep 2013 05:40:10 +0000 (+0530) Subject: usb: phy: omap-usb3: Fix return value X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1b97be8ce4847be9cceb1f80c87868131e9cc8e7;p=openwrt%2Fstaging%2Fblogic.git usb: phy: omap-usb3: Fix return value The function returns a pointer. Hence return NULL instead of 0. Signed-off-by: Sachin Kamat Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/phy/phy-omap-usb3.c b/drivers/usb/phy/phy-omap-usb3.c index fc15694d3031..4e8a0405f956 100644 --- a/drivers/usb/phy/phy-omap-usb3.c +++ b/drivers/usb/phy/phy-omap-usb3.c @@ -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)