MUSB: OMAP: remove omap_vbus_power()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 25 Mar 2010 11:25:20 +0000 (13:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:35 +0000 (13:21 -0700)
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>
drivers/usb/musb/omap2430.c

index 0e5d0670506b05eac7f12335fe52269d83d04b74..c2413c76126dca0fe7cb3d337fc7b050fee130ba 100644 (file)
@@ -145,10 +145,6 @@ void musb_platform_enable(struct musb *musb)
 void musb_platform_disable(struct musb *musb)
 {
 }
-static void omap_vbus_power(struct musb *musb, int is_on, int sleeping)
-{
-}
-
 static void omap_set_vbus(struct musb *musb, int is_on)
 {
        u8              devctl;
@@ -255,8 +251,6 @@ int __init musb_platform_init(struct musb *musb, void *board_data)
                        musb_readl(musb->mregs, OTG_INTERFSEL),
                        musb_readl(musb->mregs, OTG_SIMENABLE));
 
-       omap_vbus_power(musb, musb->board_mode == MUSB_HOST, 1);
-
        if (is_host_enabled(musb))
                musb->board_set_vbus = omap_set_vbus;
 
@@ -336,8 +330,6 @@ static int musb_platform_resume(struct musb *musb)
 int musb_platform_exit(struct musb *musb)
 {
 
-       omap_vbus_power(musb, 0 /*off*/, 1);
-
        musb_platform_suspend(musb);
 
        return 0;