From b75beeadffb9863cba822bb51368a82b98e7cba8 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Thu, 10 May 2007 15:50:16 -0700 Subject: [PATCH] --- yaml --- r: 56349 b: refs/heads/master c: d30c7369666ff1687f668ea5a65b99d1f7e06144 h: refs/heads/master i: 56347: ff32aa52524eff98847a6e0d8e52acc717759d03 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-omap1/pm.c | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/[refs] b/[refs] index 54d30d011b5d..eb0aef3cc56a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0695de32579edefd137f7e9fa056e6d204011d70 +refs/heads/master: d30c7369666ff1687f668ea5a65b99d1f7e06144 diff --git a/trunk/arch/arm/mach-omap1/pm.c b/trunk/arch/arm/mach-omap1/pm.c index 6f4ea4bda5e0..8caee68aa090 100644 --- a/trunk/arch/arm/mach-omap1/pm.c +++ b/trunk/arch/arm/mach-omap1/pm.c @@ -1,4 +1,3 @@ -//kernel/linux-omap-fsample/arch/arm/mach-omap1/pm.c#3 - integrate change 4545 (text) /* * linux/arch/arm/mach-omap1/pm.c * @@ -377,7 +376,7 @@ void omap_pm_suspend(void) * Jump to assembly code. The processor will stay there * until wake up. */ - omap_sram_suspend(arg0, arg1); + omap_sram_suspend(arg0, arg1); /* * If we are here, processor is woken up! @@ -631,10 +630,6 @@ static int omap_pm_prepare(suspend_state_t state) case PM_SUSPEND_STANDBY: case PM_SUSPEND_MEM: break; - - case PM_SUSPEND_DISK: - return -ENOTSUPP; - default: return -EINVAL; } @@ -657,10 +652,6 @@ static int omap_pm_enter(suspend_state_t state) case PM_SUSPEND_MEM: omap_pm_suspend(); break; - - case PM_SUSPEND_DISK: - return -ENOTSUPP; - default: return -EINVAL; }