mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-10 04:42:22 -05:00
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 <[email protected]> Signed-off-by: Sekhar Nori <[email protected]>
This commit is contained in:
parent
c1ae3cfa0e
commit
b23b29506a
1 changed files with 0 additions and 1 deletions
|
|
@ -108,7 +108,6 @@ static int davinci_pm_enter(suspend_state_t state)
|
|||
int ret = 0;
|
||||
|
||||
switch (state) {
|
||||
case PM_SUSPEND_STANDBY:
|
||||
case PM_SUSPEND_MEM:
|
||||
davinci_pm_suspend();
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue