diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2019-10-02 09:56:01 -0700 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-10-14 08:57:45 +0100 |
commit | de6f2a7fa2c9563266e2a3239e16b117daf22b47 (patch) | |
tree | dc3d58df4414e32a169bf2a20fa84c310298a324 /crypto/sha256_generic.c | |
parent | cc2f2e10c2056e570addc208560941daa9e06a25 (diff) |
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 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions