diff options
author | Corentin Chary <corentin.chary@gmail.com> | 2011-10-14 11:13:39 +0200 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-10-24 16:52:41 +0200 |
commit | 8d38e42c61c53ab63abbb15380b39df4eae8d44e (patch) | |
tree | c9a9f7596c736616fe3919da11da3c2efce5ec7d /drivers/platform | |
parent | b23910c2194e0e0ee43e585788085f8e6dd4877e (diff) | |
download | linux-8d38e42c61c53ab63abbb15380b39df4eae8d44e.tar.bz2 |
asus-laptop: hide leds on Pegatron Lucid
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/asus-laptop.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 613762d825f9..1fb8e699baf4 100644 --- a/drivers/platform/x86/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c @@ -629,6 +629,13 @@ static int asus_led_init(struct asus_laptop *asus) int r; /* + * The Pegatron Lucid has no physical leds, but all methods are + * available in the DSDT... + */ + if (asus->is_pega_lucid) + return 0; + + /* * Functions that actually update the LED's are called from a * workqueue. By doing this as separate work rather than when the LED * subsystem asks, we avoid messing with the Asus ACPI stuff during a |