9c372d06ce
Change /sys/power/state to not advertise any valid states (except for disk if SOFTWARE_SUSPEND is enabled) when no pm_ops have been set so userspace can easily discover what states should be available. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: "Randy.Dunlap" <rdunlap@xenotime.net> Cc: Rafael J. Wysocki <rjw@sisk.pl> Cc: Pavel Macheck <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
console.c | ||
disk.c | ||
Kconfig | ||
main.c | ||
Makefile | ||
pm.c | ||
power.h | ||
poweroff.c | ||
process.c | ||
snapshot.c | ||
swap.c | ||
swsusp.c | ||
user.c |