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:
Armin Wolf 2024-02-06 23:04:47 +01:00 committed by Ilpo Järvinen
parent 49c67cd5b6
commit fde7da1072
No known key found for this signature in database
GPG Key ID: 59AC4F6153E5CE31

View File

@ -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;
}