summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorbus/visorchipset.c
diff options
context:
space:
mode:
authorDavid Kershner2017-08-30 19:36:16 +0200
committerGreg Kroah-Hartman2017-08-31 18:17:39 +0200
commit9a8dc900ec8929c63345350d544c349c687e2055 (patch)
tree5de08616da8b561d11bdcb035c75b95d5da410ba /drivers/staging/unisys/visorbus/visorchipset.c
parentstaging: unisys: visorbus: Convert macros to functions. (diff)
downloadkernel-qcow2-linux-9a8dc900ec8929c63345350d544c349c687e2055.tar.gz
kernel-qcow2-linux-9a8dc900ec8929c63345350d544c349c687e2055.tar.xz
kernel-qcow2-linux-9a8dc900ec8929c63345350d544c349c687e2055.zip
staging: unisys: visorbus: Use __func__ instead of name.
The dev_err was using the hardcoded function name, as reported by checkpatch, it should be using __func__. Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: Tim Sell <timothy.sell@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 7423c9e6f94a..c7b4599a591b 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -744,7 +744,7 @@ static int visorbus_configure(struct controlvm_message *inmsg,
err_respond:
dev_err(&chipset_dev->acpi_device->dev,
- "visorbus_configure exited with err: %d\n", err);
+ "%s exited with err: %d\n", __func__, err);
if (inmsg->hdr.flags.response_expected == 1)
controlvm_responder(inmsg->hdr.id, &inmsg->hdr, err);
return err;