s390/pci: embedding hotplug_slot in zdev
authorPierre Morel <pmorel@linux.ibm.com>
Mon, 10 Feb 2020 16:53:25 +0000 (17:53 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 10 Mar 2020 14:16:25 +0000 (15:16 +0100)
commit035f212fa7f21035537cf6dea620fe5653191eb6
tree451929dd5f1885a437d587572a31b7b48cddc1d3
parentad451abee4ba787508c2a344aae4c9316b96cab9
s390/pci: embedding hotplug_slot in zdev

Embedding the hotplug_slot in zdev structure allows to
greatly simplify the hotplug handling by eliminating
the handling of the slot_list.

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/pci.h
drivers/pci/hotplug/s390_pci_hpc.c