mirror of https://gitee.com/openkylin/linux.git
ACPI: EC: move verbose printk to debug build only
The recent EC cleanup left a printk enabled on handler evaluation resulting in a bunch of messages on normal operation, like so: ACPI: EC: evaluating _Q60 Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
27c5d745ac
commit
c6e19194b6
|
@ -424,7 +424,7 @@ static void acpi_ec_gpe_query(void *ec_cxt)
|
||||||
|
|
||||||
snprintf(object_name, 8, "_Q%2.2X", value);
|
snprintf(object_name, 8, "_Q%2.2X", value);
|
||||||
|
|
||||||
printk(KERN_INFO PREFIX "evaluating %s\n", object_name);
|
ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Evaluating %s", object_name));
|
||||||
|
|
||||||
acpi_evaluate_object(ec->handle, object_name, NULL, NULL);
|
acpi_evaluate_object(ec->handle, object_name, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue