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-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b963c40306ba6967650dce99f4e823f1da49a60;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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();