Skip to content

Commit

Permalink
MUSB: Blackfin: remove musb_platform_{suspend|resume}()
Browse files Browse the repository at this point in the history
These functions do nothing and also are both unnecessarily 'extern'; actually,
musb_platform_resume() in not even called...

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 5b3078b commit d55d221
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions drivers/usb/musb/blackfin.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,22 +392,10 @@ int __init musb_platform_init(struct musb *musb, void *board_data)
return 0;
}

int musb_platform_suspend(struct musb *musb)
{
return 0;
}

int musb_platform_resume(struct musb *musb)
{
return 0;
}


int musb_platform_exit(struct musb *musb)
{

gpio_free(musb->config->gpio_vrsel);
musb_platform_suspend(musb);

return 0;
}

0 comments on commit d55d221

Please sign in to comment.