From: Sergei Shtylyov Date: Thu, 25 Mar 2010 11:25:21 +0000 (+0200) Subject: MUSB: Blackfin: remove bfin_vbus_power() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=69b2cd7200a32956581cab24b2a4ecf8353cd6f8;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git MUSB: Blackfin: remove bfin_vbus_power() This function does nothing... Signed-off-by: Sergei Shtylyov Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c index 8052e7659ac8..903b465c4c68 100644 --- a/drivers/usb/musb/blackfin.c +++ b/drivers/usb/musb/blackfin.c @@ -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);