summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-16 11:10:10 +0530
committerFelipe Balbi <balbi@ti.com>2013-09-17 11:05:30 -0500
commit1b97be8ce4847be9cceb1f80c87868131e9cc8e7 (patch)
tree4157c850c4c24c6a3fed556909599f831a4d808a /drivers/usb
parente1f804676a95b9d5caaa3a822d90bc1101595468 (diff)
downloadblackbird-op-linux-1b97be8ce4847be9cceb1f80c87868131e9cc8e7.tar.gz
blackbird-op-linux-1b97be8ce4847be9cceb1f80c87868131e9cc8e7.zip
usb: phy: omap-usb3: Fix return value
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/phy/phy-omap-usb3.c2
1 files changed, 1 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud