platform/x86: fujitsu-laptop: set default trigger for radio LED to rfkill-any
authorMicha? K?pie? <kernel@kempniu.pl>
Fri, 16 Dec 2016 14:46:03 +0000 (15:46 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 3 Feb 2017 12:04:53 +0000 (14:04 +0200)
The "radio components indicator" LED present in Lifebook E734/E744/E754
should be lit when any radio transmitter is enabled, so set its default
trigger to rfkill-any.

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Acked-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/fujitsu-laptop.c

index 82d67715ce76d9ff0442ecdcdbd2dbb324380203..b725a907a91f102ac29a1e0a95c5cb8f9e94d5e3 100644 (file)
@@ -202,6 +202,7 @@ static int radio_led_set(struct led_classdev *cdev,
 
 static struct led_classdev radio_led = {
  .name = "fujitsu::radio_led",
+ .default_trigger = "rfkill-any",
  .brightness_get = radio_led_get,
  .brightness_set_blocking = radio_led_set
 };