Skip to content

Commit 74bef18

Browse files
committed
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 <[email protected]>
1 parent c9c1091 commit 74bef18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/surface3_power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ mshw0011_space_handler(u32 function, acpi_physical_address command,
432432
ret = mshw0011_bst(cdata, &gsb->bst);
433433
break;
434434
default:
435-
pr_info("command(0x%02x) is not supported.\n", gsb->cmd.arg1);
435+
dev_info(&cdata->bat0->dev, "command(0x%02x) is not supported.\n", gsb->cmd.arg1);
436436
ret = AE_BAD_PARAMETER;
437437
goto err;
438438
}

0 commit comments

Comments
 (0)