提交 69b2cd72 编写于 作者: S Sergei Shtylyov 提交者: Greg Kroah-Hartman

MUSB: Blackfin: remove bfin_vbus_power()

This function does nothing...
Signed-off-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: NFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 ca0d4452
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册