summaryrefslogtreecommitdiffstats
path: root/drivers/base/memory.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-03-04 16:41:05 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-19 19:10:29 -0700
commit2b3a302a09735276e13421db56c20045a48eb06d (patch)
tree77af4f2f378d92d7b61727a38501feed3365e57f /drivers/base/memory.c
parent2424b5dd062cbe3e0578ae7b11a1b360ad22f451 (diff)
downloadop-kernel-dev-2b3a302a09735276e13421db56c20045a48eb06d.zip
op-kernel-dev-2b3a302a09735276e13421db56c20045a48eb06d.tar.gz
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>
Diffstat (limited to 'drivers/base/memory.c')
-rw-r--r--drivers/base/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/memory.c b/drivers/base/memory.c
index 7891f7c..8ce6de5 100644
--- a/drivers/base/memory.c
+++ b/drivers/base/memory.c
@@ -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;
}
OpenPOWER on IntegriCloud