Commit 23d01c42 authored by Zachary Dremann's avatar Zachary Dremann Committed by Greg Kroah-Hartman
Browse files

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: default avatarZachary Dremann <dremann@gmail.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarDavid Binder <david.binder@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d56c160c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}