s390/pci: re-introduce zpci_remove_device()
authorNiklas Schnelle <schnelle@linux.ibm.com>
Mon, 3 Aug 2020 15:46:32 +0000 (17:46 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 17 Aug 2020 11:17:25 +0000 (13:17 +0200)
commit2f0230b2f2d5fd287a85583eefb5aed35b6fe510
treef1907580d3c5d61b2c5fc85250dd4c8210f9308a
parent3cddb79afc60bcdb5fd9dd7a1c64a8d03bdd460f
s390/pci: re-introduce zpci_remove_device()

For fixing the PF to VF link removal we need to perform some action on
every removal of a zdev from the common PCI subsystem.
So in preparation re-introduce zpci_remove_device() and use that instead
of directly calling the common code functions. This  was actually still
declared from earlier code but no longer implemented.

Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/pci/pci.c
arch/s390/pci/pci_event.c
drivers/pci/hotplug/s390_pci_hpc.c