From: Guillaume Chazarain Date: Sun, 24 Dec 2006 21:19:02 +0000 (+0100) Subject: ACPI: EC: move verbose printk to debug build only X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c6e19194b6e1a565f8fe18d56d509e9892c32ee1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 --- diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 9c52d87d6f04..4144d5dd442e 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -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); }