]> git.baikalelectronics.ru Git - 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)
commit307b5580513450bb09b845f1f2d8b025eef6960c
treef862c1a7816fbca9cf2f865b072320fd1e24bbb4
parent45c81053b837ce820f4e2f837e82fda470fa2a06
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