aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/blackfin.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2010-03-25 07:25:21 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 16:21:35 -0400
commit69b2cd7200a32956581cab24b2a4ecf8353cd6f8 (patch)
tree0091af5cfa6f089f03802f621322494a62a962af /drivers/usb/musb/blackfin.c
parentca0d44525060cf852b87c35f64d786b8a2a75c3d (diff)
MUSB: Blackfin: remove bfin_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/blackfin.c')
-rw-r--r--drivers/usb/musb/blackfin.c5
1 files changed, 0 insertions, 5 deletions
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)
289{ 289{
290} 290}
291 291
292static void bfin_vbus_power(struct musb *musb, int is_on, int sleeping)
293{
294}
295
296static void bfin_set_vbus(struct musb *musb, int is_on) 292static void bfin_set_vbus(struct musb *musb, int is_on)
297{ 293{
298 int value = musb->config->gpio_vrsel_active; 294 int value = musb->config->gpio_vrsel_active;
@@ -410,7 +406,6 @@ int musb_platform_resume(struct musb *musb)
410int musb_platform_exit(struct musb *musb) 406int musb_platform_exit(struct musb *musb)
411{ 407{
412 408
413 bfin_vbus_power(musb, 0 /*off*/, 1);
414 gpio_free(musb->config->gpio_vrsel); 409 gpio_free(musb->config->gpio_vrsel);
415 musb_platform_suspend(musb); 410 musb_platform_suspend(musb);
416 411