leds: allow led-drivers to use a variable range of brightness values
authorGuennadi Liakhovetski <lg@denx.de>
Sat, 10 Jan 2009 18:54:39 +0000 (18:54 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 6 Apr 2009 15:06:25 +0000 (16:06 +0100)
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 <lg@denx.de>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>

No differences found