Skip to content

Commit

Permalink
ACPI: EC: move verbose printk to debug build only
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guillaume Chazarain authored and Len Brown committed Jan 2, 2007
1 parent 27c5d74 commit c6e1919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ static void acpi_ec_gpe_query(void *ec_cxt)

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);
}
Expand Down

0 comments on commit c6e1919

Please sign in to comment.