PCI: pciehp: Drop enable/disable lock
authorLukas Wunner <lukas@wunner.de>
Thu, 19 Jul 2018 22:27:46 +0000 (17:27 -0500)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 23 Jul 2018 22:04:15 +0000 (17:04 -0500)
commit1656716d45d0aae8c0a21a0553b9d27cd98fda61
tree949a72be5647e6bec3daf6fa9b5e1799ce24993e
parent32a8cef274feacd00b748a4f13b84d60aa6d82ff
PCI: pciehp: Drop enable/disable lock

Previously slot enablement and disablement could happen concurrently.
But now it's under the exclusive control of the IRQ thread, rendering
the locking obsolete.  Drop it.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/pciehp_hpc.c