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:
parent
b23910c219
commit
8d38e42c61
|
@ -628,6 +628,13 @@ static int asus_led_init(struct asus_laptop *asus)
|
||||||
{
|
{
|
||||||
int r;
|
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
|
* Functions that actually update the LED's are called from a
|
||||||
* workqueue. By doing this as separate work rather than when the LED
|
* workqueue. By doing this as separate work rather than when the LED
|
||||||
|
|
Loading…
Reference in New Issue