mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
platform/x86: wmi: Replace pr_err() with dev_err()
Using dev_err() allows users to find out from which device the error message came from. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20240206220447.3102-4-W_Armin@gmx.de Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
parent
49c67cd5b6
commit
fde7da1072
|
|
@ -1295,7 +1295,7 @@ static int acpi_wmi_probe(struct platform_device *device)
|
|||
|
||||
error = parse_wdg(wmi_bus_dev, device);
|
||||
if (error) {
|
||||
pr_err("Failed to parse WDG method\n");
|
||||
dev_err(&device->dev, "Failed to parse _WDG method\n");
|
||||
return error;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user