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

No differences found