aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorGabriele Mazzotta <[email protected]>2014-12-23 18:59:23 +0000
committerBryan Wu <[email protected]>2015-01-14 18:40:19 +0000
commit56d06fdee534124f79b51ff92232373b783cddc2 (patch)
tree126c70b1e945ab98c4458182652a556cdf094ef9 /lib/bitmap.c
parentDT: leds: Add flash LED devices related properties (diff)
downloadkernel-56d06fdee534124f79b51ff92232373b783cddc2.tar.gz
kernel-56d06fdee534124f79b51ff92232373b783cddc2.zip
leds: Don't allow brightness values greater than max_brightness
Since commit 4d71a4a12b13 ("leds: Add support for setting brightness in a synchronous way") the value passed to brightness_set() is no longer limited to max_brightness and can be different from the internally saved brightness value. Signed-off-by: Gabriele Mazzotta <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions