summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorbus/visorchipset.c
diff options
context:
space:
mode:
authorSameer Wadgaonkar2017-08-30 19:36:35 +0200
committerGreg Kroah-Hartman2017-08-31 18:17:40 +0200
commite25201d667b36783500904585a74c7381394fcd1 (patch)
tree51ce4f6b4316736e3a0cd7db71c04b2bdd6bcbf7 /drivers/staging/unisys/visorbus/visorchipset.c
parentstaging: unisys: visorbus: remove EXPORT_SYMBOL_GPL for visor_check_channel (diff)
downloadkernel-qcow2-linux-e25201d667b36783500904585a74c7381394fcd1.tar.gz
kernel-qcow2-linux-e25201d667b36783500904585a74c7381394fcd1.tar.xz
kernel-qcow2-linux-e25201d667b36783500904585a74c7381394fcd1.zip
staging: unisys: change pr_err to dev_err in visor_check_channel
Changing pr_err to dev_err in visor_check_channel. Added device as an argument to visor_check_channel to pass into dev_err. Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com> 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>
Diffstat (limited to 'drivers/staging/unisys/visorbus/visorchipset.c')
-rw-r--r--drivers/staging/unisys/visorbus/visorchipset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index 82b3bf76868e..74cce4f1a7bd 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -1736,6 +1736,7 @@ static int visorchipset_init(struct acpi_device *acpi_device)
controlvm_channel = chipset_dev->controlvm_channel;
if (!visor_check_channel(visorchannel_get_header(controlvm_channel),
+ &chipset_dev->acpi_device->dev,
&visor_controlvm_channel_guid,
"controlvm",
sizeof(struct visor_controlvm_channel),