mirror_ubuntu-kernels/drivers/gpu/drm/logicvc
Uwe Kleine-König 41a56a1861 drm/logicvc: 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>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230507162616.1368908-27-u.kleine-koenig@pengutronix.de
2023-06-08 09:04:11 -07:00
..
Kconfig drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
logicvc_crtc.c drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
logicvc_crtc.h
logicvc_drm.c drm/logicvc: Convert to platform remove callback returning void 2023-06-08 09:04:11 -07:00
logicvc_drm.h
logicvc_interface.c drm/logicvc: Remove unnecessary include statements for drm_crtc_helper.h 2023-01-18 09:25:31 +01:00
logicvc_interface.h
logicvc_layer.c drm/fb: rename FB CMA helpers to FB DMA helpers 2022-08-03 18:30:55 +02:00
logicvc_layer.h
logicvc_mode.c drm/logicvc: Remove unnecessary include statements for drm_crtc_helper.h 2023-01-18 09:25:31 +01:00
logicvc_mode.h
logicvc_of.c
logicvc_of.h
logicvc_regs.h
Makefile