]> err.no Git - linux-2.6/commit
ACPI PM: acpi_pm_device_sleep_state() cleanup
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 4 Jun 2008 23:15:40 +0000 (01:15 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 16 Jul 2008 21:27:02 +0000 (23:27 +0200)
commit2fe2de5f6c283a7d2a82c1b99a19012079cee555
tree7f1b37b9b9d6e2be48650d50c93041be6f52d99b
parentcc7e51666d82aedfd6b9a033ca1a10d71c21f1ca
ACPI PM: acpi_pm_device_sleep_state() cleanup

Get rid of a superfluous acpi_pm_device_sleep_state() parameter.  The
only legitimate value of that parameter must be derived from the first
parameter, which is what all the callers already do.  (However, this
does not address the fact that ACPI still doesn't set up those flags.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/sleep/main.c
drivers/pci/pci-acpi.c
drivers/pnp/pnpacpi/core.c
include/acpi/acpi_bus.h