OrangePi_CM5/drivers/video/backlight
Uwe Kleine-König 63c49cfa2f backlight: lm3630a: Fix return code of .update_status() callback
[ Upstream commit b9481a667a90ec739995e85f91f3672ca44d6ffa ]

According to <linux/backlight.h> .update_status() is supposed to
return 0 on success and a negative error code otherwise. Adapt
lm3630a_bank_a_update_status() and lm3630a_bank_b_update_status() to
actually do it.

While touching that also add the error code to the failure message.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:05:45 +02:00
..
88pm860x_bl.c
…
Kconfig
…
Makefile
…
aat2870_bl.c
…
adp5520_bl.c
…
adp8860_bl.c
…
adp8870_bl.c
…
ams369fg06.c
…
apple_bl.c
…
arcxcnn_bl.c
…
as3711_bl.c
…
backlight.c
…
bd6107.c
…
corgi_lcd.c
…
cr_bllcd.c
…
da903x_bl.c
…
da9052_bl.c
…
ep93xx_bl.c
…
gpio_backlight.c
…
hp680_bl.c
…
hx8357.c
…
ili922x.c
…
ili9320.c
…
ili9320.h
…
ipaq_micro_bl.c
…
jornada720_bl.c
…
jornada720_lcd.c
…
kb3886_bl.c
…
ktd253-backlight.c
…
l4f00242t03.c
…
lcd.c
…
led_bl.c
…
lm3533_bl.c
…
lm3630a_bl.c backlight: lm3630a: Fix return code of .update_status() callback 2021-07-20 16:05:45 +02:00
lm3639_bl.c
…
lms283gf05.c
…
lms501kf03.c
…
locomolcd.c
…
lp855x_bl.c
…
lp8788_bl.c
…
ltv350qv.c
…
ltv350qv.h
…
lv5207lp.c
…
max8925_bl.c
…
omap1_bl.c
…
otm3225a.c
…
pandora_bl.c
…
pcf50633-backlight.c
…
platform_lcd.c
…
pwm_bl.c
…
qcom-wled.c
…
rave-sp-backlight.c
…
sky81452-backlight.c
…
tdo24m.c
…
tosa_bl.c
…
tosa_bl.h
…
tosa_lcd.c
…
tps65217_bl.c
…
vgg2432a4.c
…
wm831x_bl.c
…