diff options
author | linas@austin.ibm.com <linas@austin.ibm.com> | 2006-01-12 19:31:01 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 21:00:13 -0500 |
commit | f6afbad82c6b7bab0198442592b110341fb419ba (patch) | |
tree | 6a444ff2b09cc08e93f6f2825b6cfc5e507a029e /drivers/pci/hotplug/rpadlpar_core.c | |
parent | e06b80b78db96ca272db4ec0b26ce1092a1a9704 (diff) |
[PATCH] powerpc/PCI hotplug: cleanup: add prefix
Minor cleanup. Add the prefix rpaphp_* to several generic-sounding routines.
Remove rpaphp_remove_slot(), which is a one-liner.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Acked-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/rpadlpar_core.c')
-rw-r--r-- | drivers/pci/hotplug/rpadlpar_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/rpadlpar_core.c b/drivers/pci/hotplug/rpadlpar_core.c index 15e853e5e68..d3aa9df1acd 100644 --- a/drivers/pci/hotplug/rpadlpar_core.c +++ b/drivers/pci/hotplug/rpadlpar_core.c | |||
@@ -227,7 +227,7 @@ static int dlpar_remove_phb(char *drc_name, struct device_node *dn) | |||
227 | slot = find_slot(dn); | 227 | slot = find_slot(dn); |
228 | if (slot) { | 228 | if (slot) { |
229 | /* Remove hotplug slot */ | 229 | /* Remove hotplug slot */ |
230 | if (rpaphp_remove_slot(slot)) { | 230 | if (rpaphp_deregister_slot(slot)) { |
231 | printk(KERN_ERR | 231 | printk(KERN_ERR |
232 | "%s: unable to remove hotplug slot %s\n", | 232 | "%s: unable to remove hotplug slot %s\n", |
233 | __FUNCTION__, drc_name); | 233 | __FUNCTION__, drc_name); |
@@ -373,7 +373,7 @@ int dlpar_remove_pci_slot(char *drc_name, struct device_node *dn) | |||
373 | slot = find_slot(dn); | 373 | slot = find_slot(dn); |
374 | if (slot) { | 374 | if (slot) { |
375 | /* Remove hotplug slot */ | 375 | /* Remove hotplug slot */ |
376 | if (rpaphp_remove_slot(slot)) { | 376 | if (rpaphp_deregister_slot(slot)) { |
377 | printk(KERN_ERR | 377 | printk(KERN_ERR |
378 | "%s: unable to remove hotplug slot %s\n", | 378 | "%s: unable to remove hotplug slot %s\n", |
379 | __FUNCTION__, drc_name); | 379 | __FUNCTION__, drc_name); |