Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bartlomiej Zolnierkiewicz and committed by
Krzysztof Kozlowski
7b981b18 2c80920f

-7
-7
arch/arm/mach-exynos/suspend.c
··· 516 516 if (pm_data->pm_prepare) 517 517 pm_data->pm_prepare(); 518 518 flush_cache_all(); 519 - s3c_pm_check_store(); 520 519 521 520 ret = call_firmware_op(suspend); 522 521 if (ret == -ENOSYS) ··· 529 530 530 531 S3C_PMDBG("%s: wakeup stat: %08x\n", __func__, 531 532 pmu_raw_readl(S5P_WAKEUP_STAT)); 532 - 533 - s3c_pm_check_restore(); 534 533 535 534 S3C_PMDBG("%s: resuming the system...\n", __func__); 536 535 ··· 553 556 return ret; 554 557 } 555 558 556 - s3c_pm_check_prepare(); 557 - 558 559 return 0; 559 560 } 560 561 561 562 static void exynos_suspend_finish(void) 562 563 { 563 564 int ret; 564 - 565 - s3c_pm_check_cleanup(); 566 565 567 566 ret = regulator_suspend_finish(); 568 567 if (ret)