Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 342bef7c authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Tony Lindgren
Browse files

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent c1ae3cfa
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -581,7 +581,6 @@ static int omap_pm_enter(suspend_state_t state)
{
	switch (state)
	{
	case PM_SUSPEND_STANDBY:
	case PM_SUSPEND_MEM:
		omap1_pm_suspend();
		break;
+0 −1
Original line number Diff line number Diff line
@@ -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;