]> 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)
committerLen Brown <len.brown@intel.com>
Wed, 11 Jun 2008 23:33:19 +0000 (19:33 -0400)
commit06166780eb53685e72b589814d535d1f9948e761
treec4ba373d19f1755d9e8934c754753f52bc13997b
parent28ffb5d3e0b563be5a9639c3a2b42f1a9430454f
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>
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