commit | be18cdabb8ed40ff4b8a240e0d6f4e6c30ff866d | [log] [tgz] |
---|---|---|
author | Corentin Chary <corentincj@iksaif.net> | Fri Jan 26 14:04:35 2007 +0100 |
committer | Len Brown <len.brown@intel.com> | Tue Jan 30 01:37:00 2007 -0500 |
tree | d0ca8b148430db06d3b428a3cdf905c4434fab2e | |
parent | 85091b718969be7b8e6f795af7e264b8afcd7a6d [diff] |
asus-laptop: add led support Add led support, using generic led class. Thomas Tuttle's patch <http://lkml.org/lkml/2006/7/6/247> was very usefull. We use hotk->status to store led status because it's very hard to find acpi method to get the right status... To reduce the code, I use a lot of macro (ASUS_LED, ASUS_LED_REGISTER, etc ...), because the code is the same for all leds ... Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Len Brown <len.brown@intel.com>