driver core: 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>
This commit is contained in:
Harvey Harrison
2008-03-04 16:41:05 -08:00
committed by Greg Kroah-Hartman
parent 2424b5dd06
commit 2b3a302a09
7 changed files with 36 additions and 36 deletions

View File

@@ -186,7 +186,7 @@ memory_block_action(struct memory_block *mem, unsigned long action)
break;
default:
printk(KERN_WARNING "%s(%p, %ld) unknown action: %ld\n",
__FUNCTION__, mem, action, action);
__func__, mem, action, action);
WARN_ON(1);
ret = -EINVAL;
}
@@ -444,6 +444,6 @@ int __init memory_dev_init(void)
ret = err;
out:
if (ret)
printk(KERN_ERR "%s() failed: %d\n", __FUNCTION__, ret);
printk(KERN_ERR "%s() failed: %d\n", __func__, ret);
return ret;
}