Browse Source

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 <carlos@strangeworlds.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
Carlos Corbacho 17 năm trước cách đây
mục cha
commit
9b963c4030
1 tập tin đã thay đổi với 2 bổ sung4 xóa
  1. 2 4
      drivers/misc/acer-wmi.c

+ 2 - 4
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();