diff options
Diffstat (limited to 'drivers/pci/hotplug/rpaphp_slot.c')
-rw-r--r-- | drivers/pci/hotplug/rpaphp_slot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/rpaphp_slot.c b/drivers/pci/hotplug/rpaphp_slot.c index 8ad3debb3794..56197b600d36 100644 --- a/drivers/pci/hotplug/rpaphp_slot.c +++ b/drivers/pci/hotplug/rpaphp_slot.c | |||
@@ -131,7 +131,7 @@ int rpaphp_deregister_slot(struct slot *slot) | |||
131 | struct hotplug_slot *php_slot = slot->hotplug_slot; | 131 | struct hotplug_slot *php_slot = slot->hotplug_slot; |
132 | 132 | ||
133 | dbg("%s - Entry: deregistering slot=%s\n", | 133 | dbg("%s - Entry: deregistering slot=%s\n", |
134 | __FUNCTION__, slot->name); | 134 | __func__, slot->name); |
135 | 135 | ||
136 | list_del(&slot->rpaphp_slot_list); | 136 | list_del(&slot->rpaphp_slot_list); |
137 | 137 | ||
@@ -142,7 +142,7 @@ int rpaphp_deregister_slot(struct slot *slot) | |||
142 | if (retval) | 142 | if (retval) |
143 | err("Problem unregistering a slot %s\n", slot->name); | 143 | err("Problem unregistering a slot %s\n", slot->name); |
144 | 144 | ||
145 | dbg("%s - Exit: rc[%d]\n", __FUNCTION__, retval); | 145 | dbg("%s - Exit: rc[%d]\n", __func__, retval); |
146 | return retval; | 146 | return retval; |
147 | } | 147 | } |
148 | EXPORT_SYMBOL_GPL(rpaphp_deregister_slot); | 148 | EXPORT_SYMBOL_GPL(rpaphp_deregister_slot); |
@@ -153,7 +153,7 @@ int rpaphp_register_slot(struct slot *slot) | |||
153 | int retval; | 153 | int retval; |
154 | 154 | ||
155 | dbg("%s registering slot:path[%s] index[%x], name[%s] pdomain[%x] type[%d]\n", | 155 | dbg("%s registering slot:path[%s] index[%x], name[%s] pdomain[%x] type[%d]\n", |
156 | __FUNCTION__, slot->dn->full_name, slot->index, slot->name, | 156 | __func__, slot->dn->full_name, slot->index, slot->name, |
157 | slot->power_domain, slot->type); | 157 | slot->power_domain, slot->type); |
158 | 158 | ||
159 | /* should not try to register the same slot twice */ | 159 | /* should not try to register the same slot twice */ |