[PATCH] swsusp: resume_store() retval fix
authorAndrew Morton <akpm@osdl.org>
Fri, 6 Jan 2006 08:09:50 +0000 (00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:21 +0000 (08:33 -0800)
commita576219aca70e6700705a9836e098dbecd25fb56
tree1388f5fceb79d42c019443a527b311cf6497e3bd
parent817c41d76e9eaf72044268b0e545a547abadc0bb
[PATCH] swsusp: resume_store() retval fix

- This function returns -EINVAL all the time.  Fix.

- Decruftify it a bit too.

- Writing to it doesn't seem to do what it's suppoed to do.

Cc: Pavel Machek <pavel@ucw.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/disk.c