linux/drivers/video
Uwe Kleine-König 0f3821c328 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:10:45 +02:00
..
backlight backlight: lm3630a: Fix return code of .update_status() callback 2021-07-20 16:10:45 +02:00
console vt: Fix character height handling with VT_RESIZEX 2021-05-26 12:05:20 +02:00
fbdev fbmem: Do not delete the mode that is still in use 2021-07-20 16:10:40 +02:00
logo
Kconfig
Makefile
display_timing.c
hdmi.c
of_display_timing.c
of_videomode.c
vgastate.c
videomode.c