aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c24xx/pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-s3c24xx/pm.c')
-rw-r--r--arch/arm/plat-s3c24xx/pm.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/plat-s3c24xx/pm.c b/arch/arm/plat-s3c24xx/pm.c
index ecf68d611904..d6af3082af30 100644
--- a/arch/arm/plat-s3c24xx/pm.c
+++ b/arch/arm/plat-s3c24xx/pm.c
@@ -511,11 +511,6 @@ static int s3c2410_pm_enter(suspend_state_t state)
511 return -EINVAL; 511 return -EINVAL;
512 } 512 }
513 513
514 if (state != PM_SUSPEND_MEM) {
515 printk(KERN_ERR PFX "error: only PM_SUSPEND_MEM supported\n");
516 return -EINVAL;
517 }
518
519 /* check if we have anything to wake-up with... bad things seem 514 /* check if we have anything to wake-up with... bad things seem
520 * to happen if you suspend with no wakeup (system will often 515 * to happen if you suspend with no wakeup (system will often
521 * require a full power-cycle) 516 * require a full power-cycle)
@@ -633,11 +628,7 @@ static int s3c2410_pm_finish(suspend_state_t state)
633 return 0; 628 return 0;
634} 629}
635 630
636/*
637 * Set to PM_DISK_FIRMWARE so we can quickly veto suspend-to-disk.
638 */
639static struct pm_ops s3c2410_pm_ops = { 631static struct pm_ops s3c2410_pm_ops = {
640 .pm_disk_mode = PM_DISK_FIRMWARE,
641 .prepare = s3c2410_pm_prepare, 632 .prepare = s3c2410_pm_prepare,
642 .enter = s3c2410_pm_enter, 633 .enter = s3c2410_pm_enter,
643 .finish = s3c2410_pm_finish, 634 .finish = s3c2410_pm_finish,