From 9a0fba3f2ca8e58a1465d6c3c18f9f334d054304 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Thu, 10 May 2007 17:38:37 -0700 Subject: [PATCH] ARM: OMAP: Remove old PM_SUSPEND_DISK for omap2 Remove old PM_SUSPEND_DISK for omap2 Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/pm.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index 4a8e99be698..13d05a56917 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c @@ -676,8 +676,6 @@ static int omap2_pm_prepare(suspend_state_t state) case PM_SUSPEND_STANDBY: case PM_SUSPEND_MEM: break; - case PM_SUSPEND_DISK: - return -ENOTSUPP; default: return -EINVAL; } @@ -713,9 +711,6 @@ static int omap2_pm_enter(suspend_state_t state) case PM_SUSPEND_MEM: ret = omap2_pm_suspend(); break; - case PM_SUSPEND_DISK: - ret = -ENOTSUPP; - break; default: ret = -EINVAL; } -- 2.41.1