Skip to content

Commit

Permalink
asus-laptop: hide leds on Pegatron Lucid
Browse files Browse the repository at this point in the history
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
  • Loading branch information
Corentin Chary authored and Matthew Garrett committed Oct 24, 2011
1 parent b23910c commit 8d38e42
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/platform/x86/asus-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d38e42

Please sign in to comment.