PM: update docs for writing .../power/state
authorDavid Brownell <david-b@pacbell.net>
Wed, 30 Aug 2006 21:12:48 +0000 (14:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Sep 2006 04:08:37 +0000 (21:08 -0700)
commit047bda36150d11422b2c7bacca1df324c909c0b3
tree3ec9e87c36f26bb945bfa8c8c4beb4c5cdfc8771
parent4fc0840006bf3df69dcf92397fdcaf85a542f939
PM: update docs for writing .../power/state

Updates to match current code:

 - Make writes to the /sys/devices/.../power/state files fail cleanly
   if the device requires the irqs-off call variants.

 - Fix comments describing the /sys/devices/.../power/state file writes
   to match the code; the last several releases have invalidated the
   previous text.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/sysfs.c