PCI/ERR: Rename pci_aer_clear_device_status() to pcie_clear_device_status()
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 16 Jul 2020 22:34:30 +0000 (17:34 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Jul 2020 20:38:35 +0000 (15:38 -0500)
commit600a5b4fc8e8f6dad098cd50e0e727cb2a16be46
tree990fac1fc45509466fd37be9abb463a9be14ca9f
parente83e2ca3c39553a9d0fd497d9c839b341e38c742
PCI/ERR: Rename pci_aer_clear_device_status() to pcie_clear_device_status()

pci_aer_clear_device_status() clears the error bits in the PCIe Device
Status Register (PCI_EXP_DEVSTA).  Every PCIe device has this register,
regardless of whether it supports AER.

Rename pci_aer_clear_device_status() to pcie_clear_device_status() to make
clear that it is PCIe-specific but not AER-specific.  Move it to
drivers/pci/pci.c, again since it's not AER-specific.  No functional change
intended.

Link: https://lore.kernel.org/r/20200717195619.766662-1-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/pcie/aer.c
drivers/pci/pcie/err.c