mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 08:02:07 +00:00
eb9289eb20
Add pm_ops.valid callback, so only the available pm states show in /sys/power/state. And this also makes an earlier states error report at enter_state before we do actual suspend/resume. Signed-off-by: Shaohua Li<shaohua.li@intel.com> Acked-by: Pavel Machek<pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
main.c | ||
Makefile | ||
poweroff.c | ||
proc.c | ||
sleep.h | ||
wakeup.c |