linux/drivers/gpu/drm/tilcdc
Uwe Kleine-König e52d1282f9 drm/tilcdc: 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-48-u.kleine-koenig@pengutronix.de
2023-06-08 10:34:57 -07:00
..
Kconfig drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
Makefile doc: use KCFLAGS instead of EXTRA_CFLAGS to pass flags from command line 2021-02-22 13:59:10 -07:00
tilcdc_crtc.c drm/gem: rename struct drm_gem_dma_object.{paddr => dma_addr} 2022-08-03 18:32:27 +02:00
tilcdc_drv.c drm/tilcdc: Use GEM DMA fbdev emulation 2023-03-14 17:07:49 +01:00
tilcdc_drv.h drm/tilcdc: Convert to Linux IRQ interfaces 2021-08-10 20:13:53 +02:00
tilcdc_external.c tilcdc: tilcdc_external: fix an incorrect NULL check on list iterator 2022-03-29 13:58:58 +03:00
tilcdc_external.h
tilcdc_panel.c drm/tilcdc: Convert to platform remove callback returning void 2023-06-08 10:34:57 -07:00
tilcdc_panel.h
tilcdc_plane.c drm/plane: Remove drm_plane_init() 2022-09-20 09:37:12 +02:00
tilcdc_regs.h