s390/pci: re-introduce zpci_remove_device()
authorNiklas Schnelle <schnelle@linux.ibm.com>
Mon, 3 Aug 2020 15:46:32 +0000 (17:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Aug 2020 09:49:01 +0000 (11:49 +0200)
commit1d95c4596123b9379d93205f94df2de188913a0a
treeb9605d8ba56dfe0438eb28290632968e081762e4
parentc77c3fdef0f6179aa2619a3c3c53ebd4648bd66a
s390/pci: re-introduce zpci_remove_device()

commit 2f0230b2f2d5fd287a85583eefb5aed35b6fe510 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/pci/pci.c
arch/s390/pci/pci_event.c
drivers/pci/hotplug/s390_pci_hpc.c