summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2014-10-15 16:05:59 +0900
committerInki Dae <inki.dae@samsung.com>2014-10-15 20:18:36 +0900
commit625e309ab7fcab8d78f39caefdea79209d494603 (patch)
tree1779213ccfba56ebc85e166b2e571a4678f88c56
parentd23eabd9e8c81d8654c9017660354c968d331b92 (diff)
downloadlinux-3.10-625e309ab7fcab8d78f39caefdea79209d494603.tar.gz
linux-3.10-625e309ab7fcab8d78f39caefdea79209d494603.tar.bz2
linux-3.10-625e309ab7fcab8d78f39caefdea79209d494603.zip
drm/exynos: remove pm runtime interfaces
These interfaces aren't used anymore. Change-Id: Ia02fbd60b329a3193bb2fe009f55e410031365ac Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c
index 5c5251b7450..d988d6542d5 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
@@ -360,9 +360,6 @@ static int exynos_drm_platform_probe(struct platform_device *pdev)
pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32);
exynos_drm_driver.num_ioctls = DRM_ARRAY_SIZE(exynos_ioctls);
- pm_runtime_enable(&pdev->dev);
- pm_runtime_get_sync(&pdev->dev);
-
return drm_platform_init(&exynos_drm_driver, pdev);
}
@@ -397,34 +394,8 @@ static int exynos_drm_sys_resume(struct device *dev)
}
#endif
-#ifdef CONFIG_PM_RUNTIME
-static int exynos_drm_runtime_suspend(struct device *dev)
-{
- struct drm_device *drm_dev = dev_get_drvdata(dev);
- pm_message_t message;
-
- if (pm_runtime_suspended(dev))
- return 0;
-
- message.event = PM_EVENT_SUSPEND;
- return exynos_drm_suspend(drm_dev, message);
-}
-
-static int exynos_drm_runtime_resume(struct device *dev)
-{
- struct drm_device *drm_dev = dev_get_drvdata(dev);
-
- if (!pm_runtime_suspended(dev))
- return 0;
-
- return exynos_drm_resume(drm_dev);
-}
-#endif
-
static const struct dev_pm_ops exynos_drm_pm_ops = {
SET_SYSTEM_SLEEP_PM_OPS(exynos_drm_sys_suspend, exynos_drm_sys_resume)
- SET_RUNTIME_PM_OPS(exynos_drm_runtime_suspend,
- exynos_drm_runtime_resume, NULL)
};
static struct platform_driver exynos_drm_platform_driver = {