s390/pci: use pci_rescan_remove_lock
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 28 Jul 2015 17:14:51 +0000 (19:14 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 29 Jul 2015 07:11:56 +0000 (09:11 +0200)
commit2a01bd1bd3d28d1eef26d5509c95d0923f7dc75c
tree776693351e19810266d11b367699f627e14812ed
parent515f022e8b59ce928fe5d82affb3e93ab53d12ed
s390/pci: use pci_rescan_remove_lock

Make sure that we use the pci_rescan_remove_lock when we remove
or add functions from/to the bus.

Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_event.c
arch/s390/pci/pci_sysfs.c