[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:
committed by
Greg Kroah-Hartman
parent
e06b80b78d
commit
f6afbad82c
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user