linux-stable/drivers/video
Uwe Kleine-König c4c4fa57fd backlight: led_bl: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is (mostly) ignored
and this typically results in resource leaks. To improve here there is a
quest to make the remove callback return void. In the first step of this
quest all drivers are converted to .remove_new() which already returns
void.

Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.

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@kernel.org>
Link: https://lore.kernel.org/r/20230308073945.2336302-7-u.kleine-koenig@pengutronix.de
2023-03-16 15:08:36 +00:00
..
backlight backlight: led_bl: Convert to platform remove callback returning void 2023-03-16 15:08:36 +00:00
console VT: Bump font size limitation to 64x128 pixels 2023-01-19 16:29:01 +01:00
fbdev TTY/Serial driver updates for 6.3-rc1 2023-02-24 12:17:14 -08:00
logo
aperture.c
display_timing.c
hdmi.c
Kconfig
Makefile
nomodeset.c
of_display_timing.c
of_videomode.c
vgastate.c
videomode.c