diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-05-04 18:43:23 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-05-04 18:43:23 +0300 |
commit | acd18f12d964e0db51a62ee754d3ab0b184a9308 (patch) | |
tree | 59bf1154e8d609476313287400ad19ceed110ab5 /drivers/pci | |
parent | 31311031d73f4477b3a6911d814d16962bd00348 (diff) | |
parent | 693978527c17e6234918f40b157c740f5632c102 (diff) | |
download | linux-acd18f12d964e0db51a62ee754d3ab0b184a9308.tar.xz |
Merge branch 'pci/pm'
- Fix acpi_pci_set_power_state() debug message (Rafael J. Wysocki)
* pci/pm:
PCI/ACPI: Fix acpi_pci_set_power_state() debug message
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci-acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index 53502a751914..36bc23e21759 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c @@ -1021,7 +1021,7 @@ static int acpi_pci_set_power_state(struct pci_dev *dev, pci_power_t state) if (!error) pci_dbg(dev, "power state changed by ACPI to %s\n", - acpi_power_state_string(state_conv[state])); + acpi_power_state_string(adev->power.state)); return error; } |