mirror_ubuntu-kernels/drivers/gpu/drm/meson
Uwe Kleine-König ac96555768 drm/meson: 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 ignored (apart
from emitting a warning) 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. Eventually after all drivers
are converted, .remove_new() will be renamed to .remove().

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: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231102165640.3307820-31-u.kleine-koenig@pengutronix.de
2023-11-21 09:18:53 +01:00
..
Kconfig drm/meson: add support for MIPI-DSI transceiver 2023-06-01 16:10:24 +02:00
Makefile drm/meson: add support for MIPI-DSI transceiver 2023-06-01 16:10:24 +02:00
meson_crtc.c
meson_crtc.h
meson_drv.c drm/meson: Convert to platform remove callback returning void 2023-06-08 09:04:11 -07:00
meson_drv.h drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
meson_dw_hdmi.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
meson_dw_hdmi.h
meson_dw_mipi_dsi.c drm/meson: Convert to platform remove callback returning void 2023-11-21 09:18:53 +01:00
meson_dw_mipi_dsi.h drm/meson: add support for MIPI-DSI transceiver 2023-06-01 16:10:24 +02:00
meson_encoder_cvbs.c drm/meson: Fix return type of meson_encoder_cvbs_mode_valid() 2022-11-03 09:39:42 +01:00
meson_encoder_cvbs.h drm/meson: remove drm bridges at aggregate driver unbind time 2022-09-23 09:45:49 +00:00
meson_encoder_dsi.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
meson_encoder_dsi.h drm/meson: add DSI encoder 2023-06-01 16:10:23 +02:00
meson_encoder_hdmi.c drm/meson: fix memory leak on ->hpd_notify callback 2023-09-20 15:44:31 +02:00
meson_encoder_hdmi.h drm/meson: remove drm bridges at aggregate driver unbind time 2022-09-23 09:45:49 +00:00
meson_osd_afbcd.c
meson_osd_afbcd.h
meson_overlay.c drm/gem: rename struct drm_gem_dma_object.{paddr => dma_addr} 2022-08-03 18:32:27 +02:00
meson_overlay.h
meson_plane.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
meson_plane.h
meson_rdma.c
meson_rdma.h
meson_registers.h drm/meson: venc: add ENCL encoder setup for MIPI-DSI output 2023-06-01 16:10:22 +02:00
meson_vclk.c
meson_vclk.h
meson_venc.c drm/meson: venc: include linux/bitfield.h 2023-06-02 15:47:52 +02:00
meson_venc.h drm/meson: venc: add ENCL encoder setup for MIPI-DSI output 2023-06-01 16:10:22 +02:00
meson_viu.c drm/meson: Reduce the FIFO lines held when AFBC is not used 2023-01-02 10:58:50 +01:00
meson_viu.h
meson_vpp.c drm/meson: fix 1px pink line on GXM when scaling video overlay 2023-03-06 09:42:01 +01:00
meson_vpp.h drm/meson: venc: add ENCL encoder setup for MIPI-DSI output 2023-06-01 16:10:22 +02:00