mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
c9c10913ea
commit
74bef188ea
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue