PCI/PM: Move pcie_clear_root_pme_status() to core
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 9 Mar 2018 17:06:53 +0000 (11:06 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Mar 2018 14:15:39 +0000 (09:15 -0500)
commitdcb0453d71e361d4718bb566d99e6ae498284419
tree2bcbd1552a80d82d3588d56595e7ca09c872b6d7
parentef7942603e35e300e6967fa7c17ebc17a0c00f59
PCI/PM: Move pcie_clear_root_pme_status() to core

Move pcie_clear_root_pme_status() from the port driver to the PCI core so
it will be available even when the port driver isn't present.  No
functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/pcie/portdrv.h
drivers/pci/pcie/portdrv_pci.c