From: Dario Binacchi Date: Sun, 11 Oct 2020 12:28:03 +0000 (+0200) Subject: video: backlight: fix pwm data structure description X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=f9b94055bdde93a302075ff86a1046b98e2c8e05;p=u-boot.git video: backlight: fix pwm data structure description The description of the 'max_level' field was incorrectly assigned to the 'min_level' field. Signed-off-by: Dario Binacchi --- diff --git a/drivers/video/pwm_backlight.c b/drivers/video/pwm_backlight.c index 468a5703bd..acfde7ba3d 100644 --- a/drivers/video/pwm_backlight.c +++ b/drivers/video/pwm_backlight.c @@ -33,7 +33,7 @@ * @cur_level: Current level for the backlight (index or value) * @default_level: Default level for the backlight (index or value) * @min_level: Minimum level of the backlight (full off) - * @min_level: Maximum level of the backlight (full on) + * @max_level: Maximum level of the backlight (full on) * @enabled: true if backlight is enabled */ struct pwm_backlight_priv {