From: David Kershner Date: Wed, 30 Aug 2017 17:36:16 +0000 (-0400) Subject: staging: unisys: visorbus: Use __func__ instead of name. X-Git-Tag: v4.14-rc1~148^2~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a8dc900ec8929c63345350d544c349c687e2055;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Tim Sell Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index 7423c9e..c7b4599 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;