[PATCH 2/4] MUSB: Blackfin: remove bfin_vbus_power()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This function does nothing...

Signed-off-by: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx>

--
The patch is against the recent Linus' tree plus the series of 6 fixes posted
yesterday...

 drivers/usb/musb/blackfin.c |    7 -------
 1 file changed, 7 deletions(-)

Index: linux-2.6/drivers/usb/musb/blackfin.c
===================================================================
--- linux-2.6.orig/drivers/usb/musb/blackfin.c
+++ linux-2.6/drivers/usb/musb/blackfin.c
@@ -233,10 +233,6 @@ void musb_platform_disable(struct 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)
 {
 	if (is_on)
@@ -350,11 +346,8 @@ int musb_platform_resume(struct musb *mu
 	return 0;
 }
 
-
 int musb_platform_exit(struct musb *musb)
 {
-
-	bfin_vbus_power(musb, 0 /*off*/, 1);
 	gpio_free(musb->config->gpio_vrsel);
 	musb_platform_suspend(musb);
 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux