ALSA: hda - use dell_micmute_led_set() instead of dell_app_wmi_led_set()
authorMichał Kępień <kernel@kempniu.pl>
Fri, 17 Feb 2017 07:57:48 +0000 (08:57 +0100)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Mon, 6 Mar 2017 21:06:59 +0000 (22:06 +0100)
commitfa5923cea8da3b5d4eb943651922b327b1df673c
tree58c2642bc2682aa800e6d7cfb9ace85fcb8af3dd
parent6dbea8535d179af4db6a42383b6c29ecb489c32a
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>
drivers/leds/dell-led.c
include/linux/dell-led.h
sound/pci/hda/dell_wmi_helper.c