forked from Minki/linux
staging: unisys: visorbus: use __func__ over hardcoded name
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>
This commit is contained in:
parent
b372fee1d6
commit
87408fe0d8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user