diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-02-17 17:10:35 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-03-06 10:38:19 -0800 |
commit | 342bef7c880bdab718e672f284a058e6f5169efd (patch) | |
tree | b8d2cd5c49f8a6c15bb4979024edde8aba5bdcf8 /arch/arm/mach-omap2 | |
parent | c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff) | |
download | linux-342bef7c880bdab718e672f284a058e6f5169efd.tar.gz linux-342bef7c880bdab718e672f284a058e6f5169efd.tar.bz2 linux-342bef7c880bdab718e672f284a058e6f5169efd.zip |
ARM: OMAP: PM: Drop useless checks for PM_SUSPEND_STANDBY
As OMAP 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: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/pm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index 0598630c1778..63027e60cc20 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c @@ -163,7 +163,6 @@ static int omap_pm_enter(suspend_state_t suspend_state) return -ENOENT; /* XXX doublecheck */ switch (suspend_state) { - case PM_SUSPEND_STANDBY: case PM_SUSPEND_MEM: ret = omap_pm_suspend(); break; |