Comment out cl method debug prints per default

This commit is contained in:
Christoffer Sandberg 2021-04-19 14:04:58 +02:00
parent 6e65f2ea97
commit c2061a9596
No known key found for this signature in database
GPG key ID: BF563F71B6C7A96D
2 changed files with 3 additions and 3 deletions

View file

@ -72,7 +72,7 @@ static u32 clevo_acpi_evaluate(struct acpi_device *device, u8 cmd, u32 arg, u32
if (out_obj->type == ACPI_TYPE_INTEGER) { if (out_obj->type == ACPI_TYPE_INTEGER) {
if (!IS_ERR_OR_NULL(result)) if (!IS_ERR_OR_NULL(result))
*result = (u32) out_obj->integer.value; *result = (u32) out_obj->integer.value;
pr_debug("evaluate _DSM cmd: %0#4x arg: %0#10x\n", cmd, arg); // pr_debug("evaluate _DSM cmd: %0#4x arg: %0#10x\n", cmd, arg);
} else { } else {
pr_err("unknown output from _DSM\n"); pr_err("unknown output from _DSM\n");
status = -ENODATA; status = -ENODATA;

View file

@ -49,9 +49,9 @@ static int clevo_wmi_evaluate(u32 wmi_method_id, u32 wmi_arg, u32 *result)
if (acpi_result->type == ACPI_TYPE_INTEGER) { if (acpi_result->type == ACPI_TYPE_INTEGER) {
if (!IS_ERR_OR_NULL(result)) { if (!IS_ERR_OR_NULL(result)) {
*result = (u32)acpi_result->integer.value; *result = (u32)acpi_result->integer.value;
pr_debug( /*pr_debug(
"evaluate wmi cmd: %0#4x arg: %0#10x\n", "evaluate wmi cmd: %0#4x arg: %0#10x\n",
wmi_method_id, wmi_arg); wmi_method_id, wmi_arg);*/
} }
} else { } else {
pr_err("unknown output from wmi method\n"); pr_err("unknown output from wmi method\n");