]> err.no Git - linux-2.6/commit
power management: change /sys/power/disk display
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 6 May 2007 21:50:50 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:12:59 +0000 (12:12 -0700)
commitf0ced9b229cfbc76b5db9837b4b256b602d56610
tree1c9cb6b6c73579aa103ff266f1f35e6d47da223e
parentab3bfca7abf3fd0fe41d26d839610a787aa7e587
power management: change /sys/power/disk display

Change /sys/power/disk to display all valid modes as well as the currently
selected one in a fashion known from the LED subsystem.

This changes userspace API, but it is apparently not used much (we asked
some userspace developers)

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/power/interface.txt
kernel/power/disk.c