From: Zachary Dremann Date: Mon, 17 Jul 2017 20:16:41 +0000 (-0400) Subject: staging: unisys: visorbus: visorbus_main.c: use __func__ over hardcoded name X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=23d01c425b84ea7996567567f65843f40a4c14eb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David Kershner Reviewed-by: David Binder Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index f884b59efe37..2c79673909b1 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -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; }