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:
committed by
Greg Kroah-Hartman
parent
2424b5dd06
commit
2b3a302a09
@@ -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);
|
||||
|
Reference in New Issue
Block a user