mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 21:36:42 +07: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
@ -432,7 +432,7 @@ mshw0011_space_handler(u32 function, acpi_physical_address command,
|
|||||||
ret = mshw0011_bst(cdata, &gsb->bst);
|
ret = mshw0011_bst(cdata, &gsb->bst);
|
||||||
break;
|
break;
|
||||||
default:
|
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;
|
ret = AE_BAD_PARAMETER;
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user