staging: unisys: visorbus: use __func__ over hardcoded name
authorZachary Dremann <dremann@gmail.com>
Fri, 30 Jun 2017 19:43:25 +0000 (15:43 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jul 2017 06:41:00 +0000 (08:41 +0200)
As reported by checkpatch.pl, replace hardcoded uses of the current
function's name in format strings with uses of __func__.

Signed-off-by: Zachary Dremann <dremann@gmail.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c

index 973ed61..7d37a00 100644 (file)
@@ -581,7 +581,7 @@ visorbus_create(struct controlvm_message *inmsg)
        bus_info = visorbus_get_device_by_id(bus_no, BUS_ROOT_DEVICE, NULL);
        if (bus_info && (bus_info->state.created == 1)) {
                dev_err(&chipset_dev->acpi_device->dev,
-                       "failed visorbus_create: already exists\n");
+                       "failed %s: already exists\n", __func__);
                err = -EEXIST;
                goto err_respond;
        }