original_kernel/kernel/power
Johannes Berg 9684e51cd1 power management: force pm_ops.valid callback to be assigned
This patch changes the docs and behaviour from "all states valid" to "no
states valid" if no .valid callback is assigned.  Users of pm_ops that only
need mem sleep can assign pm_valid_only_mem without any overhead, others
will require more elaborate callbacks.

Now that all users of pm_ops have a .valid callback this is a safe thing to
do and prevents things from getting messy again as they were before.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Looks-okay-to: Rafael J. Wysocki <rjw@sisk.pl>
Cc: <linux-pm@lists.linux-foundation.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-04-30 16:40:40 -07:00
..
Kconfig [PATCH] kconfig: Update swsusp description 2007-03-06 09:30:26 -08:00
Makefile
console.c [PATCH] swsusp: fix suspend when console is in VT_AUTO+KD_GRAPHICS mode 2007-03-16 19:25:05 -07:00
disk.c power management: remove firmware disk mode 2007-04-30 16:40:40 -07:00
main.c power management: force pm_ops.valid callback to be assigned 2007-04-30 16:40:40 -07:00
pm.c
power.h
poweroff.c
process.c
snapshot.c
swap.c
swsusp.c [PATCH] swsusp: fix memory shrinker 2007-04-04 21:12:47 -07:00
user.c [PATCH] Revert "swsusp: disable nonboot CPUs before entering platform suspend" 2007-03-27 09:20:03 -07:00