summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-10-15 15:48:27 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2018-11-12 21:27:56 +0100
commit7b981b18a48bdf346b5cdb286d45d1fb91da056f (patch)
tree5c816ea5ac346a6a8e623700f46d2e4b796bf9b0 /arch/arm/mach-exynos
parent2c80920f66f2333dd140715450d220724af3a400 (diff)
ARM: exynos: Remove no longer needed s3c_pm_check_*() calls
Since commit 6862fdf2201a ("ARM: samsung: Limit SAMSUNG_PM_CHECK config option to non-Exynos platforms") s3c_pm_check_*() calls are redundant and can be removed. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r--arch/arm/mach-exynos/suspend.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c
index e37834d91071..edd792d30302 100644
--- a/arch/arm/mach-exynos/suspend.c
+++ b/arch/arm/mach-exynos/suspend.c
@@ -516,7 +516,6 @@ static int exynos_suspend_enter(suspend_state_t state)
if (pm_data->pm_prepare)
pm_data->pm_prepare();
flush_cache_all();
- s3c_pm_check_store();
ret = call_firmware_op(suspend);
if (ret == -ENOSYS)
@@ -531,8 +530,6 @@ static int exynos_suspend_enter(suspend_state_t state)
S3C_PMDBG("%s: wakeup stat: %08x\n", __func__,
pmu_raw_readl(S5P_WAKEUP_STAT));
- s3c_pm_check_restore();
-
S3C_PMDBG("%s: resuming the system...\n", __func__);
return 0;
@@ -556,8 +553,6 @@ static int exynos_suspend_prepare(void)
return ret;
}
- s3c_pm_check_prepare();
-
return 0;
}
@@ -565,8 +560,6 @@ static void exynos_suspend_finish(void)
{
int ret;
- s3c_pm_check_cleanup();
-
ret = regulator_suspend_finish();
if (ret)
pr_warn("Failed to resume regulators from suspend (%d)\n", ret);