MUSB: Blackfin: remove bfin_vbus_power()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 25 Mar 2010 11:25:21 +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/blackfin.c

index 8052e7659ac8ffeb144b403d22a295cf5c25a2fc..903b465c4c685c29c2f428c1656461f691b07ce8 100644 (file)
@@ -289,10 +289,6 @@ void musb_platform_disable(struct musb *musb)
 {
 }
 
-static void bfin_vbus_power(struct musb *musb, int is_on, int sleeping)
-{
-}
-
 static void bfin_set_vbus(struct musb *musb, int is_on)
 {
        int value = musb->config->gpio_vrsel_active;
@@ -410,7 +406,6 @@ int musb_platform_resume(struct musb *musb)
 int musb_platform_exit(struct musb *musb)
 {
 
-       bfin_vbus_power(musb, 0 /*off*/, 1);
        gpio_free(musb->config->gpio_vrsel);
        musb_platform_suspend(musb);