[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>
This commit is contained in:
linas@austin.ibm.com
2006-01-12 18:31:01 -06:00
committed by Greg Kroah-Hartman
parent e06b80b78d
commit f6afbad82c
5 changed files with 20 additions and 24 deletions

View File

@ -199,7 +199,7 @@ exit_rc:
return -EINVAL;
}
int register_pci_slot(struct slot *slot)
int rpaphp_register_pci_slot(struct slot *slot)
{
int rc = -EINVAL;
@ -207,7 +207,7 @@ int register_pci_slot(struct slot *slot)
goto exit_rc;
if (setup_pci_slot(slot))
goto exit_rc;
rc = register_slot(slot);
rc = rpaphp_register_slot(slot);
exit_rc:
return rc;
}