summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c24xx/pm.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2014-05-09 05:49:36 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-05-13 08:00:45 +0900
commitdefd9da51d1a472ffa7a92ba71ffa07839bdc1a3 (patch)
tree0d9105b3ff04ea3dfcf73d1532d7e9b7a7a16c61 /arch/arm/mach-s3c24xx/pm.c
parent07ee5e7c3ec00b30996160e9a378471872ea779e (diff)
ARM: S3C24XX: remove legacy clock code
With the move to the common clock framework completed for s3c2410, s3c2440 and s3c2442, the legacy clock code for these machines can go away too. This also includes the legacy dclk code, as all legacy users are converted. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/pm.c')
-rw-r--r--arch/arm/mach-s3c24xx/pm.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-s3c24xx/pm.c b/arch/arm/mach-s3c24xx/pm.c
index 16281bdc750a..3d8cf3054e7f 100644
--- a/arch/arm/mach-s3c24xx/pm.c
+++ b/arch/arm/mach-s3c24xx/pm.c
@@ -80,12 +80,6 @@ static struct sleep_save core_save[] = {
#endif /* CONFIG_SAMSUNG_CLOCK */
};
-#ifdef CONFIG_SAMSUNG_CLOCK
-static struct sleep_save misc_save[] = {
- SAVE_ITEM(S3C2410_DCLKCON),
-};
-#endif
-
/* s3c_pm_check_resume_pin
*
* check to see if the pin is configured correctly for sleep mode, and
@@ -143,16 +137,10 @@ void s3c_pm_configure_extint(void)
void s3c_pm_restore_core(void)
{
s3c_pm_do_restore_core(core_save, ARRAY_SIZE(core_save));
-#ifdef CONFIG_SAMSUNG_CLOCK
- s3c_pm_do_restore(misc_save, ARRAY_SIZE(misc_save));
-#endif
}
void s3c_pm_save_core(void)
{
-#ifdef CONFIG_SAMSUNG_CLOCK
- s3c_pm_do_save(misc_save, ARRAY_SIZE(misc_save));
-#endif
s3c_pm_do_save(core_save, ARRAY_SIZE(core_save));
}