From: Yinghai Lu Date: Sat, 30 Nov 2013 22:40:27 +0000 (-0800) Subject: PCI: Use device_release_driver() in pci_stop_root_bus() X-Git-Tag: v3.14-rc1~132^2~25^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3b439e1d315aff59c1b4f0fc43c5cd2d82b4138;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas Acked-by: Rafael J. Wysocki --- Reading git-diff-tree failed