staging: unisys: visorbus: visorbus_main.c: use __func__ over hardcoded name
As reported by checkpatch.pl, replace hard-coded usage of the current function's name in format string with usage of __func__. Signed-off-by: Zachary Dremann <dremann@gmail.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: David Binder <david.binder@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d56c160cb6
commit
23d01c425b
|
@ -1039,7 +1039,7 @@ visorbus_create_instance(struct visor_device *dev)
|
|||
err_debugfs_dir:
|
||||
debugfs_remove_recursive(dev->debugfs_dir);
|
||||
kfree(hdr_info);
|
||||
dev_err(&dev->device, "visorbus_create_instance failed: %d\n", err);
|
||||
dev_err(&dev->device, "%s failed: %d\n", __func__, err);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue