PCI/portdrv: Move error handler methods to struct pcie_port_service_driver
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Jun 2017 18:04:58 +0000 (20:04 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 31 Jul 2017 19:29:17 +0000 (14:29 -0500)
commitc5dc3c69f17a7e77359f10c342d1816390bc8846
tree425908fdbff68fcca6b898120e0129c8a05e27b3
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973
PCI/portdrv: Move error handler methods to struct pcie_port_service_driver

Move the error handler methods to struct pcie_port_service_driver and avoid
the detour through the mostly unused pci_error_handlers structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer/aerdrv.c
drivers/pci/pcie/portdrv_pci.c
include/linux/pcieport_if.h