Commit 9a8dc900 authored by David Kershner's avatar David Kershner Committed by Greg Kroah-Hartman

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: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarTim Sell <timothy.sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c0616454
...@@ -744,7 +744,7 @@ static int visorbus_configure(struct controlvm_message *inmsg, ...@@ -744,7 +744,7 @@ static int visorbus_configure(struct controlvm_message *inmsg,
err_respond: err_respond:
dev_err(&chipset_dev->acpi_device->dev, 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) if (inmsg->hdr.flags.response_expected == 1)
controlvm_responder(inmsg->hdr.id, &inmsg->hdr, err); controlvm_responder(inmsg->hdr.id, &inmsg->hdr, err);
return err; return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment