From: Ilya Petrov Date: Tue, 27 Sep 2011 17:00:44 +0000 (+0200) Subject: staging: nvec: add LED support X-Git-Tag: v3.2-rc1~169^2^2~332 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97cc26576fa2b0eb1aad1b29515bb0a32f86c45c;p=pandora-kernel.git staging: nvec: add LED support This patch adds support for LEDs connect to a nvec. A single brightness property is exported to sysfs. LEDs are selected via bitfields in the brightness value. Also the blinking behavior is selected through this method. Vendors may use different values for different HW designs. Signed-off-by: Ilya Petrov Signed-off-by: Marc Dietrich [jak@jak-linux.org: Fixed checkpatch warnings] Signed-off-by: Julian Andres Klode Acked-by: Marc Dietrich Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed