mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
backlight: lm3630a: Initialize backlight_properties on init
[ Upstream commitad9aeb0e3a] The backlight_properties struct should be initialized to zero before using, otherwise there will be some random values in the struct. Fixes:0c2a665a64("backlight: add Backlight driver for lm3630 chip") Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Link: https://lore.kernel.org/r/20240220-lm3630a-fixups-v1-1-9ca62f7e4a33@z3ntu.xyz Signed-off-by: Lee Jones <lee@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
dd7f2d0f61
commit
491ec4f454
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue