diff options
author | Michał Kępień <kernel@kempniu.pl> | 2017-02-17 08:57:48 +0100 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-03-06 22:06:59 +0100 |
commit | fa5923cea8da3b5d4eb943651922b327b1df673c (patch) | |
tree | 58c2642bc2682aa800e6d7cfb9ace85fcb8af3dd /include/linux/dell-led.h | |
parent | 6dbea8535d179af4db6a42383b6c29ecb489c32a (diff) | |
download | linux-stable-fa5923cea8da3b5d4eb943651922b327b1df673c.tar.gz linux-stable-fa5923cea8da3b5d4eb943651922b327b1df673c.tar.bz2 linux-stable-fa5923cea8da3b5d4eb943651922b327b1df673c.zip |
ALSA: hda - use dell_micmute_led_set() instead of dell_app_wmi_led_set()
The dell_app_wmi_led_set() method introduced in commit db6d8cc00773
("dell-led: add mic mute led interface") was implemented as an easily
extensible entry point for other modules to set the state of various
LEDs. However, almost three years later it is still only used to
control the mic mute LED, so it will be replaced with direct calls to
dell_micmute_led_set().
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Tested-by: Alex Hung <alex.hung@canonical.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'include/linux/dell-led.h')
-rw-r--r-- | include/linux/dell-led.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/dell-led.h b/include/linux/dell-led.h index 7009b8bec77b..3f033c48071e 100644 --- a/include/linux/dell-led.h +++ b/include/linux/dell-led.h @@ -1,10 +1,6 @@ #ifndef __DELL_LED_H__ #define __DELL_LED_H__ -enum { - DELL_LED_MICMUTE, -}; - -int dell_app_wmi_led_set(int whichled, int on); +int dell_micmute_led_set(int on); #endif |