diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-05 00:41:05 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-20 02:10:29 (GMT) |
commit | 2b3a302a09735276e13421db56c20045a48eb06d (patch) | |
tree | 77af4f2f378d92d7b61727a38501feed3365e57f /drivers/base/sys.c | |
parent | 2424b5dd062cbe3e0578ae7b11a1b360ad22f451 (diff) | |
download | linux-fsl-qoriq-2b3a302a09735276e13421db56c20045a48eb06d.tar.xz |
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 1a06c23..4fbb56b 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); |