Skip to content

Commit

Permalink
MUSB: Blackfin: remove bfin_vbus_power()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sergei Shtylyov authored and Greg Kroah-Hartman committed May 20, 2010
1 parent ca0d445 commit 69b2cd7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/usb/musb/blackfin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 69b2cd7

Please sign in to comment.