summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/surface3_power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/surface3_power.c b/drivers/platform/x86/surface3_power.c
index 9cdae35c9802..3eb1b48c562e 100644
--- a/drivers/platform/x86/surface3_power.c
+++ b/drivers/platform/x86/surface3_power.c
@@ -432,7 +432,7 @@ mshw0011_space_handler(u32 function, acpi_physical_address command,
ret = mshw0011_bst(cdata, &gsb->bst);
break;
default:
- pr_info("command(0x%02x) is not supported.\n", gsb->cmd.arg1);
+ dev_info(&cdata->bat0->dev, "command(0x%02x) is not supported.\n", gsb->cmd.arg1);
ret = AE_BAD_PARAMETER;
goto err;
}