From: Guennadi Liakhovetski Date: Sat, 10 Jan 2009 18:54:39 +0000 (+0000) Subject: leds: allow led-drivers to use a variable range of brightness values X-Git-Tag: v2.6.30-rc1~187^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bd465e6b0e2b559db47420fea686507a01cfab0;p=pandora-kernel.git leds: allow led-drivers to use a variable range of brightness values This patch allows drivers to override the default maximum brightness value of 255. We take care to preserve backwards-compatibility as much as possible, so that user-space ABI doesn't change for existing drivers. LED trigger code has also been updated to use the per-LED maximum. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Richard Purdie --- Reading git-diff-tree failed