Commit c6e19194 authored by Guillaume Chazarain's avatar Guillaume Chazarain Committed by Len Brown

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: default avatarLen Brown <len.brown@intel.com>
parent 27c5d745
...@@ -424,7 +424,7 @@ static void acpi_ec_gpe_query(void *ec_cxt) ...@@ -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);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment