Skip to content
Commit 1bd465e6 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Richard Purdie
Browse files

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: default avatarGuennadi Liakhovetski <lg@denx.de>
Signed-off-by: default avatarRichard Purdie <rpurdie@linux.intel.com>
parent a7d878af
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment