mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 13:21:45 +00:00
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:
parent
1ebfd79eb4
commit
1d3a82af45
5 changed files with 0 additions and 47 deletions
|
@ -52,7 +52,6 @@ struct bus_type {
|
|||
int (*remove)(struct device * dev);
|
||||
void (*shutdown)(struct device * dev);
|
||||
|
||||
int (*suspend_prepare)(struct device * dev, pm_message_t state);
|
||||
int (*suspend)(struct device * dev, pm_message_t state);
|
||||
int (*suspend_late)(struct device * dev, pm_message_t state);
|
||||
int (*resume_early)(struct device * dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue