[PATCH] pm: clean up /sys/power/disk
authorPavel Machek <pavel@ucw.cz>
Sat, 3 Sep 2005 22:57:06 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:18 +0000 (00:06 -0700)
commit57c4ce3cbfba1bb0da7f37b9328a713cbd5d0919
tree916c1435e9cba3dd050e526637ee8bf51db140e8
parent6161b2ce8116b9a623260ab811e2c035b3fac2e5
[PATCH] pm: clean up /sys/power/disk

Clean code up a bit, and only show suspend to disk as available when
it is configured in.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/main.c