summaryrefslogtreecommitdiff
path: root/drivers/misc/acer-wmi.c
diff options
context:
space:
mode:
authorCarlos Corbacho <carlos@strangeworlds.co.uk>2008-02-24 13:34:29 (GMT)
committerLen Brown <len.brown@intel.com>2008-03-11 21:58:22 (GMT)
commit9b963c40306ba6967650dce99f4e823f1da49a60 (patch)
tree71724ec80d4a15f74f1e55d69cc350442a3eb3b1 /drivers/misc/acer-wmi.c
parent343c00422d3296838927016750b18ead8aa8bf9a (diff)
downloadlinux-9b963c40306ba6967650dce99f4e823f1da49a60.tar.xz
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>
Diffstat (limited to 'drivers/misc/acer-wmi.c')
-rw-r--r--drivers/misc/acer-wmi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/misc/acer-wmi.c b/drivers/misc/acer-wmi.c
index e85d96f..49846bd 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();