diff options
author | Carlos Corbacho <carlos@strangeworlds.co.uk> | 2008-02-24 14:34:18 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-03-11 22:53:24 +0100 |
commit | 343c00422d3296838927016750b18ead8aa8bf9a (patch) | |
tree | 4ab94a71c754a0ab1d6c0905922f2d0443b2d14e /drivers/misc | |
parent | Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
download | linux-343c00422d3296838927016750b18ead8aa8bf9a.tar.xz linux-343c00422d3296838927016750b18ead8aa8bf9a.zip |
acer-wmi: Rename mail LED correctly & remove hardcoded colour
The mail LED name for acer-wmi currently hardcodes in the colour as green.
This is wrong, since many of the newer laptops now come with an orange
LED, and we have no way of telling what colour is used on a given system.
Also, rename the mail LED to be inline with the current recommendations of
the LED class documentation.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/acer-wmi.c b/drivers/misc/acer-wmi.c index 74d12b4a3abd..e85d96f99ae6 100644 --- a/drivers/misc/acer-wmi.c +++ b/drivers/misc/acer-wmi.c @@ -761,7 +761,7 @@ enum led_brightness value) } static struct led_classdev mail_led = { - .name = "acer-mail:green", + .name = "acer-wmi::mail", .brightness_set = mail_led_set, }; |