]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad9966586dc13cad9ba10efa8b18747f3d23327e
tree4a7c2bba9bdbbeb202eb50e71ba671bd861a8649
parent1980cb23c61d580c3e42e257f9e99351cd621a3a
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