ACPI / PCC: Use pr_debug() for debug messages in pcc_init()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 Feb 2015 23:40:08 +0000 (00:40 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 Feb 2015 23:40:08 +0000 (00:40 +0100)
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 <caravena@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/mailbox/pcc.c

index 6dbf6fcbdfaf1671163eba8b8345c21a5566b173..e8902f8dddfce6f664ab616b9b61ea2777ba2401 100644 (file)
@@ -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;
        }