android_kernel_xiaomi_sm8350/drivers/acpi/sleep
Johannes Berg ab3bfca7ab remove software_suspend()
Remove software_suspend() and all its users since
pm_suspend(PM_SUSPEND_DISK) should be equivalent and there's no point in
having two interfaces for the same thing.

The patch also changes the valid_state function to return 0 (false) for
PM_SUSPEND_DISK when SOFTWARE_SUSPEND is not configured instead of
accepting it and having the whole thing fail later.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:12:59 -07:00
..
main.c power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
Makefile
poweroff.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
proc.c remove software_suspend() 2007-05-07 12:12:59 -07:00
sleep.h
wakeup.c ACPI: update comment 2006-11-06 15:19:51 -05:00