[PATCH 6/24][Resend] ACPI / hotplug / PCI: Simplify disable_slot()

2014-02-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After recent PCI core changes related to the rescan/remove locking, the ACPIPHP's disable_slot() function is only called under the general PCI rescan/remove lock, so it doesn't have to use dev_in_slot() any more to avoid race conditions. Make it simply walk the devices

[PATCH 6/24][Resend] ACPI / hotplug / PCI: Simplify disable_slot()

2014-02-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After recent PCI core changes related to the rescan/remove locking, the ACPIPHP's disable_slot() function is only called under the general PCI rescan/remove lock, so it doesn't have to use dev_in_slot() any more to avoid race conditions. Make it