android_kernel_xiaomi_sm8350/drivers/acpi/sleep
Rafael J. Wysocki bd804eba1c PM: Introduce pm_power_off_prepare
Introduce the pm_power_off_prepare() callback that can be registered by the
interested platforms in analogy with pm_idle() and pm_power_off(), used for
preparing the system to power off (needed by ACPI).

This allows us to drop acpi_sysclass and device_acpi that are only defined in
order to register the ACPI power off preparation callback, which is needed by
pm_power_off() registered in a much different way.

Signed-off-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>
2007-07-19 10:04:42 -07:00
..
main.c swsusp: introduce restore platform operations 2007-07-19 10:04:42 -07:00
Makefile
poweroff.c PM: Introduce pm_power_off_prepare 2007-07-19 10:04:42 -07:00
proc.c ACPICA: Lindent 2007-05-09 23:34:35 -04:00
sleep.h
wakeup.c