From 56d06fdee534124f79b51ff92232373b783cddc2 Mon Sep 17 00:00:00 2001 From: Gabriele Mazzotta Date: Tue, 23 Dec 2014 10:59:23 -0800 Subject: [PATCH] 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 Signed-off-by: Bryan Wu --- Reading git-format-patch failed