dell-led: use dell_smbios_find_token() for finding mic DMI tokens
authorMichał Kępień <kernel@kempniu.pl>
Fri, 22 Jan 2016 14:27:27 +0000 (15:27 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 23 Mar 2016 17:05:43 +0000 (10:05 -0700)
commitcf0d7ea335966744f2a4fc6f882165b7dba54c15
treec8be9a3dc71b182dc3f7ed9d616443cf7fa9c6a7
parentb7bca2d7ff1a232466fa5447ec27e62bf02b310f
dell-led: use dell_smbios_find_token() for finding mic DMI tokens

With the advent of dell_smbios_find_token(), dell-led does not need to
perform any DMI walking on its own, but it can rather ask dell-smbios to
look up the DMI tokens it needs for changing the state of the microphone
LED.

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Acked-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/leds/Kconfig
drivers/leds/dell-led.c