On Wed, 02 Oct 2019, Matthias Kaehlcke wrote:
pwm_backlight_probe() re-assigns pb->levels for every brightness level. This is not needed and was likely not intended, since neither side of the assignment changes during the loop. Assign the field only once.
Signed-off-by: Matthias Kaehlcke mka@chromium.org
Changes in v2:
- removed curly braces from for loop
drivers/video/backlight/pwm_bl.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
Applied, thanks.