Shaohua Li eb9289eb20 [PATCH] introduce .valid callback for pm_ops
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>
2005-10-30 17:37:15 -08:00
..
2005-09-03 00:15:11 -04:00
2005-10-28 08:16:48 -07:00
2005-10-29 19:32:49 +01:00
2005-04-16 15:20:36 -07:00
2005-10-28 12:31:34 -04:00
2005-10-28 08:16:50 -07:00