lkml.org 
[lkml]   [2012]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[RESUBMIT][PATCH] Don't show error if Acer WMI is not found
From
commit 486df5137ae34a4057d604e2b645d7b3848a562f
Author: William Douglas <william.douglas@intel.com>
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@intel.com>
Signed-off-by: Lee, Chun-Yi <jlee@novell.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>

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

\
 
 \ /
  Last update: 2012-02-27 19:41    [W:0.022 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site