PCI: Use acpi_pci_power_manageable()
authorShanker Donthineni <sdonthineni@nvidia.com>
Tue, 17 Aug 2021 21:09:47 +0000 (16:09 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 18 Aug 2021 22:04:30 +0000 (17:04 -0500)
commit4273e64cc4ebb881e1954d768020f5440491dcd9
tree4a7c2bba9bdbbeb202eb50e71ba671bd861a8649
parent3a15955d7cf0b6c7527ee3bd97c3c355450e3fa1
PCI: Use acpi_pci_power_manageable()

Use acpi_pci_power_manageable() instead of duplicating the logic in
acpi_pci_bridge_d3().  No functional change intended.

[bhelgaas: split out from
https://lore.kernel.org/r/20210817180500.1253-8-ameynarkhede03@gmail.com]
Signed-off-by: Shanker Donthineni <sdonthineni@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-acpi.c