ARM: OMAP: Remove old PM_SUSPEND_DISK
Remove old PM_SUSPEND_DISK. Also some minor cosmetic clean-up. Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
0695de3257
commit
d30c736966
|
@ -1,4 +1,3 @@
|
||||||
//kernel/linux-omap-fsample/arch/arm/mach-omap1/pm.c#3 - integrate change 4545 (text)
|
|
||||||
/*
|
/*
|
||||||
* linux/arch/arm/mach-omap1/pm.c
|
* linux/arch/arm/mach-omap1/pm.c
|
||||||
*
|
*
|
||||||
|
@ -631,10 +630,6 @@ static int omap_pm_prepare(suspend_state_t state)
|
||||||
case PM_SUSPEND_STANDBY:
|
case PM_SUSPEND_STANDBY:
|
||||||
case PM_SUSPEND_MEM:
|
case PM_SUSPEND_MEM:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PM_SUSPEND_DISK:
|
|
||||||
return -ENOTSUPP;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
@ -657,10 +652,6 @@ static int omap_pm_enter(suspend_state_t state)
|
||||||
case PM_SUSPEND_MEM:
|
case PM_SUSPEND_MEM:
|
||||||
omap_pm_suspend();
|
omap_pm_suspend();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PM_SUSPEND_DISK:
|
|
||||||
return -ENOTSUPP;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue