staging: unisys: visorbus: Use __func__ instead of name.
authorDavid Kershner <david.kershner@unisys.com>
Wed, 30 Aug 2017 17:36:16 +0000 (13:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:17:39 +0000 (18:17 +0200)
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>
drivers/staging/unisys/visorbus/visorchipset.c

index 7423c9e6f94ad35903ac58787deb538082c05191..c7b4599a591ba0ff90894fd71d36f27c9b318d9c 100644 (file)
@@ -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;