summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-10-15 15:48:27 +0200
committerJunghoon Kim <jhoon20.kim@samsung.com>2019-02-14 14:58:19 +0900
commitbbd651126fec2b1b63e3501567aab0a26d6e5960 (patch)
tree95db15cd273ab01881ae65db44963a164287e74c /arch/arm
parenta85f816c010ea5cb1184f67a2ac279c1dc523e28 (diff)
downloadlinux-exynos-bbd651126fec2b1b63e3501567aab0a26d6e5960.tar.gz
linux-exynos-bbd651126fec2b1b63e3501567aab0a26d6e5960.tar.bz2
linux-exynos-bbd651126fec2b1b63e3501567aab0a26d6e5960.zip
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> [backport of mainline commit ] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: Idc96a5a0d48eca57c6f7efed96e11789cec0481e
Diffstat (limited to 'arch/arm')
-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 1b05cb89332b..fcc83905a744 100644
--- a/arch/arm/mach-exynos/suspend.c
+++ b/arch/arm/mach-exynos/suspend.c
@@ -523,7 +523,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)
@@ -538,8 +537,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;
@@ -563,8 +560,6 @@ static int exynos_suspend_prepare(void)
return ret;
}
- s3c_pm_check_prepare();
-
return 0;
}
@@ -572,8 +567,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);