Skip to content

Commit 348d9cc

Browse files
Wer-Wolfjwrdegoede
authored andcommitted
platform/x86: intel-wmi-sbl-fw-update: Fix function name in error message
Since when the driver was converted to use the bus-based WMI interface, the old GUID-based WMI functions are not used anymore. Update the error message to avoid confusing users. Compile-tested only. Fixes: 75c487f ("platform/x86: intel-wmi-sbl-fw-update: Use bus-based WMI interface") Signed-off-by: Armin Wolf <[email protected]> Acked-by: Randy Dunlap <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent 9e054ed commit 348d9cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/platform/x86/intel/wmi/sbl-fw-update.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ static int get_fwu_request(struct device *dev, u32 *out)
3232
return -ENODEV;
3333

3434
if (obj->type != ACPI_TYPE_INTEGER) {
35-
dev_warn(dev, "wmi_query_block returned invalid value\n");
35+
dev_warn(dev, "wmidev_block_query returned invalid value\n");
3636
kfree(obj);
3737
return -EINVAL;
3838
}
@@ -55,7 +55,7 @@ static int set_fwu_request(struct device *dev, u32 in)
5555

5656
status = wmidev_block_set(to_wmi_device(dev), 0, &input);
5757
if (ACPI_FAILURE(status)) {
58-
dev_err(dev, "wmi_set_block failed\n");
58+
dev_err(dev, "wmidev_block_set failed\n");
5959
return -ENODEV;
6060
}
6161

0 commit comments

Comments
 (0)