PM: no suspend_prepare() phase

Remove the new suspend_prepare() phase.  It doesn't seem very usable,
has never been tested, doesn't address fault cleanup, and would need
a sibling resume_complete(); plus there are no real use cases.  It
could be restored later if those issues get resolved.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
David Brownell
2006-08-30 14:09:47 -07:00
committed by Greg Kroah-Hartman
parent 1ebfd79eb4
commit 1d3a82af45
5 changed files with 0 additions and 47 deletions

View File

@@ -57,10 +57,6 @@ static int suspend_prepare(suspend_state_t state)
if (!pm_ops || !pm_ops->enter)
return -EPERM;
error = device_prepare_suspend(PMSG_SUSPEND);
if (error)
return error;
pm_prepare_console();
disable_nonboot_cpus();