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

MUSB: OMAP: remove omap_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>
上级 ff927add
...@@ -145,10 +145,6 @@ void musb_platform_enable(struct musb *musb) ...@@ -145,10 +145,6 @@ void musb_platform_enable(struct musb *musb)
void musb_platform_disable(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) static void omap_set_vbus(struct musb *musb, int is_on)
{ {
u8 devctl; u8 devctl;
...@@ -255,8 +251,6 @@ int __init musb_platform_init(struct musb *musb, void *board_data) ...@@ -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_INTERFSEL),
musb_readl(musb->mregs, OTG_SIMENABLE)); musb_readl(musb->mregs, OTG_SIMENABLE));
omap_vbus_power(musb, musb->board_mode == MUSB_HOST, 1);
if (is_host_enabled(musb)) if (is_host_enabled(musb))
musb->board_set_vbus = omap_set_vbus; musb->board_set_vbus = omap_set_vbus;
...@@ -336,8 +330,6 @@ static int musb_platform_resume(struct musb *musb) ...@@ -336,8 +330,6 @@ static int musb_platform_resume(struct musb *musb)
int musb_platform_exit(struct musb *musb) int musb_platform_exit(struct musb *musb)
{ {
omap_vbus_power(musb, 0 /*off*/, 1);
musb_platform_suspend(musb); musb_platform_suspend(musb);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册