aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/omap_device.c')
-rw-r--r--arch/arm/mach-omap2/omap_device.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c
index 68be532f8688..5cc92874be7e 100644
--- a/arch/arm/mach-omap2/omap_device.c
+++ b/arch/arm/mach-omap2/omap_device.c
@@ -588,11 +588,6 @@ static int _od_runtime_suspend(struct device *dev)
588 return ret; 588 return ret;
589} 589}
590 590
591static int _od_runtime_idle(struct device *dev)
592{
593 return pm_generic_runtime_idle(dev);
594}
595
596static int _od_runtime_resume(struct device *dev) 591static int _od_runtime_resume(struct device *dev)
597{ 592{
598 struct platform_device *pdev = to_platform_device(dev); 593 struct platform_device *pdev = to_platform_device(dev);
@@ -648,7 +643,7 @@ static int _od_resume_noirq(struct device *dev)
648struct dev_pm_domain omap_device_pm_domain = { 643struct dev_pm_domain omap_device_pm_domain = {
649 .ops = { 644 .ops = {
650 SET_RUNTIME_PM_OPS(_od_runtime_suspend, _od_runtime_resume, 645 SET_RUNTIME_PM_OPS(_od_runtime_suspend, _od_runtime_resume,
651 _od_runtime_idle) 646 NULL)
652 USE_PLATFORM_PM_SLEEP_OPS 647 USE_PLATFORM_PM_SLEEP_OPS
653 .suspend_noirq = _od_suspend_noirq, 648 .suspend_noirq = _od_suspend_noirq,
654 .resume_noirq = _od_resume_noirq, 649 .resume_noirq = _od_resume_noirq,