summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorCarlos Corbacho <carlos@strangeworlds.co.uk>2008-02-24 14:34:29 +0100
committerLen Brown <len.brown@intel.com>2008-03-11 22:58:22 +0100
commit9b963c40306ba6967650dce99f4e823f1da49a60 (patch)
tree71724ec80d4a15f74f1e55d69cc350442a3eb3b1 /drivers/misc
parentacer-wmi: Rename mail LED correctly & remove hardcoded colour (diff)
downloadlinux-9b963c40306ba6967650dce99f4e823f1da49a60.tar.xz
linux-9b963c40306ba6967650dce99f4e823f1da49a60.zip
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')
-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 e85d96f99ae6..49846bd2b5c8 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();