]> err.no Git - linux-2.6/commitdiff
acer-wmi: Don't warn if mail LED cannot be detected
authorCarlos Corbacho <carlos@strangeworlds.co.uk>
Sun, 24 Feb 2008 13:34:29 +0000 (13:34 +0000)
committerLen Brown <len.brown@intel.com>
Tue, 11 Mar 2008 21:58:22 +0000 (17:58 -0400)
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 <carlos@strangeworlds.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/acer-wmi.c

index e85d96f99ae6299510e8209a8a508be64f1e8e14..49846bd2b5c8917835f9789a0be4c553dd4a79b8 100644 (file)
@@ -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();