summaryrefslogtreecommitdiffstats
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2013-11-30 23:40:27 +0100
committerBjorn Helgaas <bhelgaas@google.com>2013-12-18 21:53:36 +0100
commite3b439e1d315aff59c1b4f0fc43c5cd2d82b4138 (patch)
tree485ec3ecc6cf1a79a368c446cbe86fe86cf853b7 /drivers/rapidio
parentPCI: Move device_del() from pci_stop_dev() to pci_destroy_dev() (diff)
downloadlinux-e3b439e1d315aff59c1b4f0fc43c5cd2d82b4138.tar.xz
linux-e3b439e1d315aff59c1b4f0fc43c5cd2d82b4138.zip
PCI: Use device_release_driver() in pci_stop_root_bus()
To be consistent with 4bff6749905d ("PCI: Move device_del() from pci_stop_dev() to pci_destroy_dev()", this changes pci_stop_root_bus() to use device_release_driver() instead of device_del(). This also changes pci_remove_root_bus() to use device_unregister() instead of put_device() so it corresponds with the device_register() call in pci_create_root_bus(). [bhelgaas: changelog] Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions