summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorbus/visorchipset.c
diff options
context:
space:
mode:
authorZachary Dremann2017-06-30 21:43:25 +0200
committerGreg Kroah-Hartman2017-07-16 08:41:00 +0200
commit87408fe0d8ae56997e3ca3a13dcf8b53a38c2405 (patch)
tree230b61df5bbcd263d830cdb8288ff22662f5eecd /drivers/staging/unisys/visorbus/visorchipset.c
parentstaging: unisys: visorbus: Indent struct assignment correctly (diff)
downloadkernel-qcow2-linux-87408fe0d8ae56997e3ca3a13dcf8b53a38c2405.tar.gz
kernel-qcow2-linux-87408fe0d8ae56997e3ca3a13dcf8b53a38c2405.tar.xz
kernel-qcow2-linux-87408fe0d8ae56997e3ca3a13dcf8b53a38c2405.zip
staging: unisys: visorbus: use __func__ over hardcoded name
As reported by checkpatch.pl, replace hardcoded uses of the current function's name in format strings with uses of __func__. Signed-off-by: Zachary Dremann <dremann@gmail.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visorbus/visorchipset.c')
-rw-r--r--drivers/staging/unisys/visorbus/visorchipset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index 973ed61703e2..7d37a002b3b5 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -581,7 +581,7 @@ visorbus_create(struct controlvm_message *inmsg)
bus_info = visorbus_get_device_by_id(bus_no, BUS_ROOT_DEVICE, NULL);
if (bus_info && (bus_info->state.created == 1)) {
dev_err(&chipset_dev->acpi_device->dev,
- "failed visorbus_create: already exists\n");
+ "failed %s: already exists\n", __func__);
err = -EEXIST;
goto err_respond;
}