Input: wistron - add LED support
authorEric Piel <eric.piel@tremplin-utc.net>
Mon, 21 May 2007 04:46:31 +0000 (00:46 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Tue, 10 Jul 2007 04:35:17 +0000 (00:35 -0400)
commit389679d8faa38bb6d069d9e1805f15e3cb9a6d7f
tree7c53caf90abf1eec2720e204bc07d2fd7540285b
parenta4da16d3838669d7fb096ea5d1e4917e5ca4dc16
Input: wistron - add LED support

Add support to wistron_btns for leds that come with the multimedia keys.
Mail and wifi leds are supported, on laptops which have them.

Depending on the laptop, wifi subsystem may control just the led, or both
the led and the wifi card. Wifi led interface is activated only for the
former type of laptops, as the latter type is already managed. Leds are
controled by the interface in /sys/class/leds.

Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/Kconfig
drivers/input/misc/wistron_btns.c