diff options
author | 2019-10-02 09:56:01 -0700 | |
---|---|---|
committer | 2019-10-14 08:57:45 +0100 | |
commit | de6f2a7fa2c9563266e2a3239e16b117daf22b47 (patch) | |
tree | dc3d58df4414e32a169bf2a20fa84c310298a324 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: backlight: Add led-backlight binding (diff) | |
download | wireguard-linux-de6f2a7fa2c9563266e2a3239e16b117daf22b47.tar.xz wireguard-linux-de6f2a7fa2c9563266e2a3239e16b117daf22b47.zip |
backlight: pwm_bl: Don't assign levels table repeatedly
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>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions