PCI: Fold stop and remove helpers into their callers
commit2ed168eeb3edec029aa0eca5cb981d6376f931f9
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Aug 2012 17:25:01 +0000 (17 11:25 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Aug 2012 17:31:42 +0000 (22 11:31 -0600)
tree015c0c9f116b9e8f246784b7f0ba71970df81e58
parent66455f5472383df3632140e04f0852215e5c9ce8
PCI: Fold stop and remove helpers into their callers

pci_stop_bus_devices() is only two lines of code and is only called by
pci_stop_bus_device(), so I think it's easier to read if we just fold it
into the caller.  Similarly for __pci_remove_behind_bridge().

Tested-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
drivers/pci/remove.c