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:
Zachary Dremann 2017-07-17 16:16:41 -04:00 committed by Greg Kroah-Hartman
parent d56c160cb6
commit 23d01c425b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}