diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2010-03-25 07:25:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:35 -0400 |
commit | ca0d44525060cf852b87c35f64d786b8a2a75c3d (patch) | |
tree | cd499c011eb990941bb595062bccf5c1d81915c4 /drivers/usb/musb/omap2430.c | |
parent | ff927addd62d33ab95cd83208e7db3ff37fdac18 (diff) |
MUSB: OMAP: remove omap_vbus_power()
This function does nothing...
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/omap2430.c')
-rw-r--r-- | drivers/usb/musb/omap2430.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 0e5d0670506b..c2413c76126d 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c | |||
@@ -145,10 +145,6 @@ void musb_platform_enable(struct musb *musb) | |||
145 | void musb_platform_disable(struct musb *musb) | 145 | void musb_platform_disable(struct musb *musb) |
146 | { | 146 | { |
147 | } | 147 | } |
148 | static void omap_vbus_power(struct musb *musb, int is_on, int sleeping) | ||
149 | { | ||
150 | } | ||
151 | |||
152 | static void omap_set_vbus(struct musb *musb, int is_on) | 148 | static void omap_set_vbus(struct musb *musb, int is_on) |
153 | { | 149 | { |
154 | u8 devctl; | 150 | u8 devctl; |
@@ -255,8 +251,6 @@ int __init musb_platform_init(struct musb *musb, void *board_data) | |||
255 | musb_readl(musb->mregs, OTG_INTERFSEL), | 251 | musb_readl(musb->mregs, OTG_INTERFSEL), |
256 | musb_readl(musb->mregs, OTG_SIMENABLE)); | 252 | musb_readl(musb->mregs, OTG_SIMENABLE)); |
257 | 253 | ||
258 | omap_vbus_power(musb, musb->board_mode == MUSB_HOST, 1); | ||
259 | |||
260 | if (is_host_enabled(musb)) | 254 | if (is_host_enabled(musb)) |
261 | musb->board_set_vbus = omap_set_vbus; | 255 | musb->board_set_vbus = omap_set_vbus; |
262 | 256 | ||
@@ -336,8 +330,6 @@ static int musb_platform_resume(struct musb *musb) | |||
336 | int musb_platform_exit(struct musb *musb) | 330 | int musb_platform_exit(struct musb *musb) |
337 | { | 331 | { |
338 | 332 | ||
339 | omap_vbus_power(musb, 0 /*off*/, 1); | ||
340 | |||
341 | musb_platform_suspend(musb); | 333 | musb_platform_suspend(musb); |
342 | 334 | ||
343 | return 0; | 335 | return 0; |