linux/drivers/gpu/drm/xlnx
Uwe Kleine-König 71722685cd drm/xlnx/zynqmp_dpsub: 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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230507162616.1368908-54-u.kleine-koenig@pengutronix.de
2023-06-08 09:04:13 -07:00
..
Kconfig drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
Makefile drm: xlnx: zynqmp_dpsub: Move DRM/KMS initialization to separate file 2022-10-19 16:51:04 +03:00
zynqmp_disp_regs.h
zynqmp_disp.c drm: xlnx: zynqmp_dpsub: Support operation without DMA engine 2022-10-19 16:55:40 +03:00
zynqmp_disp.h drm: xlnx: zynqmp_dpsub: Allow configuration of layer mode 2022-10-19 16:55:40 +03:00
zynqmp_dp.c drm: xlnx: Fix return type of zynqmp_dp_bridge_mode_valid 2022-11-09 16:50:21 +02:00
zynqmp_dp.h drm: xlnx: zynqmp_dpsub: Manage DP and DISP allocations manually 2022-10-19 16:53:57 +03:00
zynqmp_dpsub.c drm/xlnx/zynqmp_dpsub: Convert to platform remove callback returning void 2023-06-08 09:04:13 -07:00
zynqmp_dpsub.h drm: xlnx: zynqmp_dpsub: Support operation without DMA engine 2022-10-19 16:55:40 +03:00
zynqmp_kms.c drm/xlnx: Use GEM DMA fbdev emulation 2023-03-14 17:07:49 +01:00
zynqmp_kms.h drm: xlnx: zynqmp_dpsub: Rename zynqmp_dpsub_handle_vblank with DRM prefix 2022-10-19 16:55:39 +03:00