Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
9b963c4030
1 zmenil súbory, kde vykonal 2 pridanie a 4 odobranie
  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();
 	find_quirks();