Skip to content

Commit

Permalink
acer-wmi: Don't warn if mail LED cannot be detected
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Carlos Corbacho authored and Len Brown committed Mar 11, 2008
1 parent 343c004 commit 9b963c4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/misc/acer-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 9b963c4

Please sign in to comment.