1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/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 drm/atomic: Pass the full state to CRTC atomic begin and flush 2020-11-02 12:37:49 +01:00
meson_crtc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
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 drm: meson: global clean-up 2019-08-09 12:06:14 +02:00
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 drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops 2022-01-03 12:28:25 +01:00
meson_osd_afbcd.h drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops 2022-01-03 12:28:25 +01:00
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 drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_plane.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
meson_plane.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
meson_rdma.c drm: meson: fix address type confusion 2020-01-08 13:51:56 +01:00
meson_rdma.h drm/meson: add RDMA module driver 2019-12-10 10:08:45 +01:00
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 drm/meson/meson_vclk: Make two local functions static 2020-11-17 18:34:14 +01:00
meson_vclk.h drm/meson: add mode selection limits against specific SoC revisions 2020-05-05 10:19:33 +02:00
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 drm/meson: viu: add AFBC modules routing functions 2019-12-10 10:09:38 +01:00
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