aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2017-02-17 11:10:34 -0500
committerSekhar Nori <nsekhar@ti.com>2017-03-06 06:36:42 -0500
commitb23b29506ab5e817d8eac19c5a689f0e2a3140b3 (patch)
treef6dfbe3454e0d9737d066233106ebc2ea7c091ca
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff)
ARM: davinci: PM: Drop useless check for PM_SUSPEND_STANDBY
As DaVinci uses the standard suspend_valid_only_mem() for its platform_suspend_ops.valid() callback, its platform_suspend_ops.enter() callback will never be called with state equal to PM_SUSPEND_STANDBY. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r--arch/arm/mach-davinci/pm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/pm.c b/arch/arm/mach-davinci/pm.c
index 0afd201ab980..efb80354f303 100644
--- a/arch/arm/mach-davinci/pm.c
+++ b/arch/arm/mach-davinci/pm.c
@@ -108,7 +108,6 @@ static int davinci_pm_enter(suspend_state_t state)
108 int ret = 0; 108 int ret = 0;
109 109
110 switch (state) { 110 switch (state) {
111 case PM_SUSPEND_STANDBY:
112 case PM_SUSPEND_MEM: 111 case PM_SUSPEND_MEM:
113 davinci_pm_suspend(); 112 davinci_pm_suspend();
114 break; 113 break;