linux/drivers/gpu/drm/bridge/imx
Uwe Kleine-König b931c166c4 drm/bridge: imx8qxp-pixel-combiner: 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+renesas@ideasonboard.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230318190804.234610-9-u.kleine-koenig@pengutronix.de
2023-03-20 11:51:51 +01:00
..
imx-ldb-helper.c drm: Remove linux/media-bus-format.h from drm_crtc.h 2022-07-05 21:15:13 +03:00
imx-ldb-helper.h drm/bridge: imx: Add LDB driver helper support 2022-06-20 21:15:15 +02:00
imx8qm-ldb-drv.c drm/bridge: imx8qm-ldb: Convert to platform remove callback returning void 2023-03-20 11:51:51 +01:00
imx8qxp-ldb-drv.c drm/bridge: imx8qxp-ldb: Convert to platform remove callback returning void 2023-03-20 11:51:51 +01:00
imx8qxp-pixel-combiner.c drm/bridge: imx8qxp-pixel-combiner: Convert to platform remove callback returning void 2023-03-20 11:51:51 +01:00
imx8qxp-pixel-link.c drm: Remove linux/media-bus-format.h from drm_crtc.h 2022-07-05 21:15:13 +03:00
imx8qxp-pxl2dpi.c drm: Remove linux/media-bus-format.h from drm_crtc.h 2022-07-05 21:15:13 +03:00
Kconfig drm/bridge: imx: i.MX8 bridge drivers should depend on ARCH_MXC 2022-07-01 10:26:38 +02:00
Makefile drm/bridge: imx: Add LDB support for i.MX8qm 2022-06-20 21:15:19 +02:00