2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [ACPI] fix reboot upon suspend-to-disk 2005-12-15 13:28:14 -05:00
wakeup.c ACPI: update comment 2006-11-06 15:19:51 -05:00