Commit 74bef188 authored by Andy Shevchenko's avatar Andy Shevchenko

platform/x86: surface3_power: Use dev_err() instead of pr_err()

We have device and we may use it to print messages.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent c9c10913
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment