PCI/AER: Replace struct pcie_device with pci_dev
authorKeith Busch <keith.busch@intel.com>
Mon, 9 Apr 2018 22:04:42 +0000 (16:04 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 5 Jun 2018 22:08:52 +0000 (17:08 -0500)
commite13d17f7325225a9da474c684c9c8d0f29827749
tree4ab3c850b726f0119b67df126a12ac601c90e760
parent8f6fb677751f4da4b597120dbdcc7bee8e02647c
PCI/AER: Replace struct pcie_device with pci_dev

The AER driver only needed the pcie_device to get to the port pci_dev.
Save the pci_dev pointer directly in struct aer_rpc and remove the
unnecessary indirection.

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