PCI: rpaphp: Use pcibios_remove_pci_devices() symmetrically
authorLinas Vepstas <linas@austin.ibm.com>
Fri, 13 Apr 2007 22:34:23 +0000 (15:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 May 2007 02:02:40 +0000 (19:02 -0700)
commite70ea2634afe7d04ffaf7417df7bfdbfdc460e10
treeea86633349ce6694b65af34fa8d65996ee2bd166
parentda65944be2441191539f50ce71cd1f8030699be1
PCI: rpaphp: Use pcibios_remove_pci_devices() symmetrically

At first blush, the disable_slot() routine does not look
at all like its symmetric with the enable_slot() routine;
as it seems to call a very different set of routines.
However, this is easily fixed: pcibios_remove_pci_devices()
does the right thing.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Cc: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/rpaphp_core.c