diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-06-05 01:16:37 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-06-11 19:33:19 -0400 |
commit | 8d2bdf49481b27096e242119e73abe9348c1019b (patch) | |
tree | 1bb795eff290f169fefdcc95695f9326bad6a2d9 /drivers/pci/pci-acpi.c | |
parent | 06166780eb53685e72b589814d535d1f9948e761 (diff) | |
download | lwn-8d2bdf49481b27096e242119e73abe9348c1019b.tar.gz lwn-8d2bdf49481b27096e242119e73abe9348c1019b.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>
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; |