s390/pci: move zpci_remove_device() to bus code
authorNiklas Schnelle <schnelle@linux.ibm.com>
Tue, 26 Jan 2021 12:58:28 +0000 (13:58 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 22 Mar 2021 10:36:04 +0000 (11:36 +0100)
commit95b3a8b4014d82e79dc3ad03a1f8d6ee5f56b29d
tree4b0b85a38aee49ad62152bcff997ae55513d6f90
parent2631f6b6f22ca613238a416a09e3d2771def6f88
s390/pci: move zpci_remove_device() to bus code

The zpci_remove_device() function removes the device from the PCI common
code core which is an operation dealing primarily with the zbus and PCI
bus code. With that and to match an upcoming refactoring of the
symmetric scanning part move it to the bus code.

Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/pci.h
arch/s390/pci/pci.c
arch/s390/pci/pci_bus.c
arch/s390/pci/pci_bus.h
arch/s390/pci/pci_event.c