From: Tony Lindgren Date: Fri, 11 May 2007 00:38:37 +0000 (-0700) Subject: ARM: OMAP: Remove old PM_SUSPEND_DISK for omap2 X-Git-Tag: v2.6.22-omap1~153 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9a0fba3f2ca8e58a1465d6c3c18f9f334d054304;p=linux-2.6-omap-h63xx.git ARM: OMAP: Remove old PM_SUSPEND_DISK for omap2 Remove old PM_SUSPEND_DISK for omap2 Signed-off-by: Tony Lindgren --- 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; }