Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 702ac61c authored by Felipe Contreras's avatar Felipe Contreras Committed by Felipe Balbi
Browse files

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: default avatarFelipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 08dec56e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;