musb: omap2430: avoid pm_runtime_disable()

These are handled by drivers core, and in a way that doesn't wake up the
devices.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Felipe Contreras 2011-12-19 22:17:51 +02:00 коммит произвёл Felipe Balbi
Родитель 08dec56ee2
Коммит 702ac61c51
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -336,7 +336,6 @@ static int omap2430_musb_init(struct musb *musb)
return 0;
err1:
pm_runtime_disable(dev);
return status;
}
@ -479,7 +478,6 @@ static int __exit omap2430_remove(struct platform_device *pdev)
platform_device_del(glue->musb);
platform_device_put(glue->musb);
pm_runtime_put(&pdev->dev);
pm_runtime_disable(&pdev->dev);
kfree(glue);
return 0;