diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-03 22:09:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-21 00:47:09 -0400 |
commit | 66bef8c059015ba2b36bb5759080336feb01e680 (patch) | |
tree | 9060b134ba07e052bf40e0fbe641dfaa86bcbd9d /drivers/pci/hotplug/acpiphp_core.c | |
parent | ca99eb8c2d56bdfff0161388b81e641f4e039b3f (diff) |
PCI: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/acpiphp_core.c')
-rw-r--r-- | drivers/pci/hotplug/acpiphp_core.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/pci/hotplug/acpiphp_core.c b/drivers/pci/hotplug/acpiphp_core.c index 9279d5ba62e..7af68ba2790 100644 --- a/drivers/pci/hotplug/acpiphp_core.c +++ b/drivers/pci/hotplug/acpiphp_core.c | |||
@@ -138,7 +138,7 @@ static int enable_slot(struct hotplug_slot *hotplug_slot) | |||
138 | { | 138 | { |
139 | struct slot *slot = hotplug_slot->private; | 139 | struct slot *slot = hotplug_slot->private; |
140 | 140 | ||
141 | dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name); | 141 | dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); |
142 | 142 | ||
143 | /* enable the specified slot */ | 143 | /* enable the specified slot */ |
144 | return acpiphp_enable_slot(slot->acpi_slot); | 144 | return acpiphp_enable_slot(slot->acpi_slot); |
@@ -156,7 +156,7 @@ static int disable_slot(struct hotplug_slot *hotplug_slot) | |||
156 | struct slot *slot = hotplug_slot->private; | 156 | struct slot *slot = hotplug_slot->private; |
157 | int retval; | 157 | int retval; |
158 | 158 | ||
159 | dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name); | 159 | dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); |
160 | 160 | ||
161 | /* disable the specified slot */ | 161 | /* disable the specified slot */ |
162 | retval = acpiphp_disable_slot(slot->acpi_slot); | 162 | retval = acpiphp_disable_slot(slot->acpi_slot); |
@@ -179,7 +179,7 @@ static int disable_slot(struct hotplug_slot *hotplug_slot) | |||
179 | { | 179 | { |
180 | int retval = -ENODEV; | 180 | int retval = -ENODEV; |
181 | 181 | ||
182 | dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name); | 182 | dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); |
183 | 183 | ||
184 | if (attention_info && try_module_get(attention_info->owner)) { | 184 | if (attention_info && try_module_get(attention_info->owner)) { |
185 | retval = attention_info->set_attn(hotplug_slot, status); | 185 | retval = attention_info->set_attn(hotplug_slot, status); |
@@ -202,7 +202,7 @@ static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) | |||
202 | { | 202 | { |
203 | struct slot *slot = hotplug_slot->private; | 203 | struct slot *slot = hotplug_slot->private; |
204 | 204 | ||
205 | dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name); | 205 | dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); |
206 | 206 | ||
207 | *value = acpiphp_get_power_status(slot->acpi_slot); | 207 | *value = acpiphp_get_power_status(slot->acpi_slot); |
208 | 208 | ||
@@ -224,7 +224,7 @@ static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) | |||
224 | { | 224 | { |
225 | int retval = -EINVAL; | 225 | int retval = -EINVAL; |
226 | 226 | ||
227 | dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name); | 227 | dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); |
228 | 228 | ||
229 | if (attention_info && try_module_get(attention_info->owner)) { | 229 | if (attention_info && try_module_get(attention_info->owner)) { |
230 | retval = attention_info->get_attn(hotplug_slot, value); | 230 | retval = attention_info->get_attn(hotplug_slot, value); |
@@ -247,7 +247,7 @@ static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) | |||
247 | { | 247 | { |
248 | struct slot *slot = hotplug_slot->private; | 248 | struct slot *slot = hotplug_slot->private; |
249 | 249 | ||
250 | dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name); | 250 | dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); |
251 | 251 | ||
252 | *value = acpiphp_get_latch_status(slot->acpi_slot); | 252 | *value = acpiphp_get_latch_status(slot->acpi_slot); |
253 | 253 | ||
@@ -267,7 +267,7 @@ static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) | |||
267 | { | 267 | { |
268 | struct slot *slot = hotplug_slot->private; | 268 | struct slot *slot = hotplug_slot->private; |
269 | 269 | ||
270 | dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name); | 270 | dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); |
271 | 271 | ||
272 | *value = acpiphp_get_adapter_status(slot->acpi_slot); | 272 | *value = acpiphp_get_adapter_status(slot->acpi_slot); |
273 | 273 | ||
@@ -284,7 +284,7 @@ static int get_address(struct hotplug_slot *hotplug_slot, u32 *value) | |||
284 | { | 284 | { |
285 | struct slot *slot = hotplug_slot->private; | 285 | struct slot *slot = hotplug_slot->private; |
286 | 286 | ||
287 | dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name); | 287 | dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); |
288 | 288 | ||
289 | *value = acpiphp_get_address(slot->acpi_slot); | 289 | *value = acpiphp_get_address(slot->acpi_slot); |
290 | 290 | ||
@@ -318,7 +318,7 @@ static void release_slot(struct hotplug_slot *hotplug_slot) | |||
318 | { | 318 | { |
319 | struct slot *slot = hotplug_slot->private; | 319 | struct slot *slot = hotplug_slot->private; |
320 | 320 | ||
321 | dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name); | 321 | dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); |
322 | 322 | ||
323 | kfree(slot->hotplug_slot); | 323 | kfree(slot->hotplug_slot); |
324 | kfree(slot); | 324 | kfree(slot); |