diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-06-04 19:16:37 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-06-11 19:33:19 -0400 |
commit | 8d2bdf49481b27096e242119e73abe9348c1019b (patch) | |
tree | 1bb795eff290f169fefdcc95695f9326bad6a2d9 /drivers/pci/pci.c | |
parent | 06166780eb53685e72b589814d535d1f9948e761 (diff) |
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.c')
-rw-r--r-- | drivers/pci/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index e4548ab2a93c..75c60239cadd 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -508,7 +508,7 @@ pci_set_power_state(struct pci_dev *dev, pci_power_t state) | |||
508 | return 0; | 508 | return 0; |
509 | } | 509 | } |
510 | 510 | ||
511 | pci_power_t (*platform_pci_choose_state)(struct pci_dev *dev, pm_message_t state); | 511 | pci_power_t (*platform_pci_choose_state)(struct pci_dev *dev); |
512 | 512 | ||
513 | /** | 513 | /** |
514 | * pci_choose_state - Choose the power state of a PCI device | 514 | * pci_choose_state - Choose the power state of a PCI device |
@@ -528,7 +528,7 @@ pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state) | |||
528 | return PCI_D0; | 528 | return PCI_D0; |
529 | 529 | ||
530 | if (platform_pci_choose_state) { | 530 | if (platform_pci_choose_state) { |
531 | ret = platform_pci_choose_state(dev, state); | 531 | ret = platform_pci_choose_state(dev); |
532 | if (ret != PCI_POWER_ERROR) | 532 | if (ret != PCI_POWER_ERROR) |
533 | return ret; | 533 | return ret; |
534 | } | 534 | } |