]> Pileus Git - ~andy/linux/commit
pcmcia: Use common pci_stop_and_remove_bus_device()
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Aug 2012 16:49:04 +0000 (10:49 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Aug 2012 17:31:20 +0000 (11:31 -0600)
commit0a140577316268b3263fd169d339188ad1636af3
tree35fc228275fde995554bc69a304938bee3303bfb
parent34e548431a7a2e73121c4a452eb3d1b0659bd77f
pcmcia: Use common pci_stop_and_remove_bus_device()

Use pci_stop_and_remove_bus_device() like most other hotplug drivers
rather than the special-purpose "behind_bridge" variant.  This just
means we have to iterate through all the devices downstream of the
bridge ourselves, which is the same thing pci_stop_behind_bridge()
did.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
drivers/pcmcia/cardbus.c