diff options
author | David Brownell <david-b@pacbell.net> | 2006-08-30 17:09:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 00:08:38 -0400 |
commit | 1d3a82af45428c5e8deaa119cdeb79611ae46371 (patch) | |
tree | e8e5b7a03a979e149541149cab5570352b90656f /include/linux/device.h | |
parent | 1ebfd79eb46a89eacf3cbdf4a463d5d572d3557b (diff) |
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>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index b40be6fca6fa..b3646462d6dc 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -52,7 +52,6 @@ struct bus_type { | |||
52 | int (*remove)(struct device * dev); | 52 | int (*remove)(struct device * dev); |
53 | void (*shutdown)(struct device * dev); | 53 | void (*shutdown)(struct device * dev); |
54 | 54 | ||
55 | int (*suspend_prepare)(struct device * dev, pm_message_t state); | ||
56 | int (*suspend)(struct device * dev, pm_message_t state); | 55 | int (*suspend)(struct device * dev, pm_message_t state); |
57 | int (*suspend_late)(struct device * dev, pm_message_t state); | 56 | int (*suspend_late)(struct device * dev, pm_message_t state); |
58 | int (*resume_early)(struct device * dev); | 57 | int (*resume_early)(struct device * dev); |