projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1f8046
)
usb: phy: omap-usb3: Fix return value
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 16 Sep 2013 05:40:10 +0000
(11:10 +0530)
committer
Felipe 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
patch
|
blob
|
history
diff --git
a/drivers/usb/phy/phy-omap-usb3.c
b/drivers/usb/phy/phy-omap-usb3.c
index fc15694d3031bbf83b76e932914e44251280d491..4e8a0405f956c478491a1ed6f18d65a9afc07e9a 100644
(file)
--- 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)