From: Rafael J. Wysocki Date: Thu, 19 Jul 2007 08:47:40 +0000 (-0700) Subject: PM: Introduce pm_power_off_prepare X-Git-Tag: v2.6.23-rc1~450 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd804eba1c8597cbb7cd5a5f9fe886aae16a079a;p=pandora-kernel.git 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 Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed