diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-06-05 01:16:37 +0200 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2008-07-16 23:27:02 +0200 |
commit | a80a6da145bab8ee77af304961fc926de7a8ac84 (patch) | |
tree | aa2cd01240f983ab7d98a50f717f030f34647cd8 /drivers/pci/pci-acpi.c | |
parent | ACPI PM: acpi_pm_device_sleep_state() cleanup (diff) | |
download | linux-a80a6da145bab8ee77af304961fc926de7a8ac84.tar.xz linux-a80a6da145bab8ee77af304961fc926de7a8ac84.zip |
PCI ACPI: Drop the second argument of platform_pci_choose_state
Since the second argument of acpi_pci_choose_state() and
platform_pci_choose_state() is never used, remove it.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pci/pci-acpi.c')
-rw-r--r-- | drivers/pci/pci-acpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index caabf0573c3d..dab9d471914c 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c @@ -293,8 +293,7 @@ EXPORT_SYMBOL(pci_osc_control_set); * choose highest power _SxD or any lower power */ -static pci_power_t acpi_pci_choose_state(struct pci_dev *pdev, - pm_message_t state) +static pci_power_t acpi_pci_choose_state(struct pci_dev *pdev) { int acpi_state; |