diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-05 01:41:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-20 04:10:29 +0200 |
commit | 2b3a302a09735276e13421db56c20045a48eb06d (patch) | |
tree | 77af4f2f378d92d7b61727a38501feed3365e57f /drivers/base/sys.c | |
parent | sysfs: refill attribute buffer when reading from offset 0 (diff) | |
download | linux-2b3a302a09735276e13421db56c20045a48eb06d.tar.xz linux-2b3a302a09735276e13421db56c20045a48eb06d.zip |
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/sys.c')
-rw-r--r-- | drivers/base/sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/sys.c b/drivers/base/sys.c index 1a06c2393719..4fbb56bcb1ee 100644 --- a/drivers/base/sys.c +++ b/drivers/base/sys.c @@ -195,7 +195,7 @@ int sysdev_driver_register(struct sysdev_class *cls, struct sysdev_driver *drv) } } else { err = -EINVAL; - printk(KERN_ERR "%s: invalid device class\n", __FUNCTION__); + printk(KERN_ERR "%s: invalid device class\n", __func__); WARN_ON(1); } mutex_unlock(&sysdev_drivers_lock); |