Skip to content
Commit ad9aeb0e authored by Luca Weiss's avatar Luca Weiss Committed by Lee Jones
Browse files

backlight: lm3630a: Initialize backlight_properties on init

The backlight_properties struct should be initialized to zero before
using, otherwise there will be some random values in the struct.

Fixes: 0c2a665a

 ("backlight: add Backlight driver for lm3630 chip")
Signed-off-by: default avatarLuca Weiss <luca@z3ntu.xyz>
Reviewed-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240220-lm3630a-fixups-v1-1-9ca62f7e4a33@z3ntu.xyz
Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 7ee6478d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment