diff options
Diffstat (limited to 'drivers/pci/pci-acpi.c')
-rw-r--r-- | drivers/pci/pci-acpi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index 4708eb9df71b..78157688dcc9 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * File: pci-acpi.c | 3 | * File: pci-acpi.c |
3 | * Purpose: Provide PCI support in ACPI | 4 | * Purpose: Provide PCI support in ACPI |
@@ -542,7 +543,7 @@ static int acpi_pci_set_power_state(struct pci_dev *dev, pci_power_t state) | |||
542 | } | 543 | } |
543 | 544 | ||
544 | if (!error) | 545 | if (!error) |
545 | dev_dbg(&dev->dev, "power state changed by ACPI to %s\n", | 546 | pci_dbg(dev, "power state changed by ACPI to %s\n", |
546 | acpi_power_state_string(state_conv[state])); | 547 | acpi_power_state_string(state_conv[state])); |
547 | 548 | ||
548 | return error; | 549 | return error; |