asus-laptop: hide leds on Pegatron Lucid

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
Corentin Chary 2011-10-14 11:13:39 +02:00 committed by Matthew Garrett
parent b23910c219
commit 8d38e42c61
1 changed files with 7 additions and 0 deletions

View File

@ -628,6 +628,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