From: Rafael J. Wysocki Date: Wed, 4 Feb 2015 23:40:08 +0000 (+0100) Subject: ACPI / PCC: Use pr_debug() for debug messages in pcc_init() X-Git-Tag: v4.0-rc1~143^2~8^4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=efd756daf4ddae3cec2404c4e0b680b7cfdd6a45;p=karo-tx-linux.git ACPI / PCC: Use pr_debug() for debug messages in pcc_init() pcc_init() uses pr_err() to print two messages that are really debug and not interesting to users. Replace those pr_err() with pr_debug(). Reported-by: Cristian Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c index 6dbf6fcbdfaf..e8902f8dddfc 100644 --- a/drivers/mailbox/pcc.c +++ b/drivers/mailbox/pcc.c @@ -386,7 +386,7 @@ static int __init pcc_init(void) ret = acpi_pcc_probe(); if (ret) { - pr_err("ACPI PCC probe failed.\n"); + pr_debug("ACPI PCC probe failed.\n"); return -ENODEV; } @@ -394,7 +394,7 @@ static int __init pcc_init(void) pcc_mbox_probe, NULL, 0, NULL, 0); if (!pcc_pdev) { - pr_err("Err creating PCC platform bundle\n"); + pr_debug("Err creating PCC platform bundle\n"); return -ENODEV; }