]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
PCI/AER: Reuse existing pcie_port_find_device() interface
authorKeith Busch <keith.busch@intel.com>
Thu, 11 Oct 2018 18:34:10 +0000 (12:34 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 19 Oct 2018 00:42:54 +0000 (19:42 -0500)
commit0e98db259fd8760fde556e640b447dadeceefc96
treef862c1a7816fbca9cf2f865b072320fd1e24bbb4
parent369fd7b00fce169570d6a74cb369e60dbfc95fb4
PCI/AER: Reuse existing pcie_port_find_device() interface

The port services driver already provides a method to find the pcie_device
for a service.  Export that function, use it from the aer_inject module,
and remove the duplicate functionality.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer_inject.c
drivers/pci/pcie/portdrv_core.c