From: Carlos Corbacho Date: Sun, 24 Feb 2008 13:34:29 +0000 (+0000) Subject: acer-wmi: Don't warn if mail LED cannot be detected X-Git-Tag: v2.6.25-rc6~19^2~1^4~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9b963c40306ba6967650dce99f4e823f1da49a60;p=linux-2.6-omap-h63xx.git acer-wmi: Don't warn if mail LED cannot be detected This warning confuses users, who think it is an error. Not detecting the mail LED simply means it isn't there, so let's not unduly panic users. Signed-off-by: Carlos Corbacho Signed-off-by: Len Brown --- diff --git a/drivers/misc/acer-wmi.c b/drivers/misc/acer-wmi.c index e85d96f99ae..49846bd2b5c 100644 --- a/drivers/misc/acer-wmi.c +++ b/drivers/misc/acer-wmi.c @@ -1069,10 +1069,8 @@ static int __init acer_wmi_init(void) } } - if (wmi_has_guid(AMW0_GUID1)) { - if (ACPI_FAILURE(AMW0_find_mailled())) - printk(ACER_ERR "Unable to detect mail LED\n"); - } + if (wmi_has_guid(AMW0_GUID1)) + AMW0_find_mailled(); find_quirks();