Skip to content

Commit

Permalink
MUSB: OMAP: remove omap_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 ff927ad commit ca0d445
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/usb/musb/omap2430.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ void musb_platform_enable(struct musb *musb)
void musb_platform_disable(struct musb *musb)
{
}
static void omap_vbus_power(struct musb *musb, int is_on, int sleeping)
{
}

static void omap_set_vbus(struct musb *musb, int is_on)
{
u8 devctl;
Expand Down Expand Up @@ -255,8 +251,6 @@ int __init musb_platform_init(struct musb *musb, void *board_data)
musb_readl(musb->mregs, OTG_INTERFSEL),
musb_readl(musb->mregs, OTG_SIMENABLE));

omap_vbus_power(musb, musb->board_mode == MUSB_HOST, 1);

if (is_host_enabled(musb))
musb->board_set_vbus = omap_set_vbus;

Expand Down Expand Up @@ -336,8 +330,6 @@ static int musb_platform_resume(struct musb *musb)
int musb_platform_exit(struct musb *musb)
{

omap_vbus_power(musb, 0 /*off*/, 1);

musb_platform_suspend(musb);

return 0;
Expand Down

0 comments on commit ca0d445

Please sign in to comment.