mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-19 03:37:55 +00:00
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>
This commit is contained in:
parent
c0616454cb
commit
9a8dc900ec
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user