[RESUBMIT][PATCH] Don't show error if Acer WMI is not found

From: Douglas, William
Date: Mon Feb 27 2012 - 13:38:55 EST


commit 486df5137ae34a4057d604e2b645d7b3848a562f
Author: William Douglas <william.douglas@xxxxxxxxx>
Date: Mon Nov 28 11:30:26 2011 -0800

Don't show error if Acer WMI is not found.

This patch initiated by Pascal seemed to get left out when switching
to pr_<level>. I've updated the patch and am resubmitting it as the
error prints out with the quiet option.

Signed-off-by: William Douglas <william.douglas@xxxxxxxxx>
Signed-off-by: Lee, Chun-Yi <jlee@xxxxxxxxxx>
Signed-off-by: Auke Kok <auke-jan.h.kok@xxxxxxxxx>

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index b848277..607af16 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -1946,7 +1946,7 @@ static int __init acer_wmi_init(void)
AMW0_find_mailled();

if (!interface) {
- pr_err("No or unsupported WMI interface, unable to load\n");
+ pr_info("No or unsupported WMI interface, unable to load\n");
return -ENODEV;
}

--
William Douglas, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/