]> err.no Git - linux-2.6/commitdiff
ACPI: EC: move verbose printk to debug build only
authorGuillaume Chazarain <guichaz@yahoo.fr>
Sun, 24 Dec 2006 21:19:02 +0000 (22:19 +0100)
committerLen Brown <len.brown@intel.com>
Tue, 2 Jan 2007 05:12:19 +0000 (00:12 -0500)
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>
drivers/acpi/ec.c

index 9c52d87d6f0439b2f50f1e519e2ecca289013efd..4144d5dd442e762a27e8c71b7bf430c66d35bdaa 100644 (file)
@@ -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);
 }