linux/drivers/soc/mediatek
Uwe Kleine-König 630cc5e1e6 soc/mediatek: mtk-mmsys: 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.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230925095532.1984344-16-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
2023-10-14 23:27:29 +02:00
..
Kconfig soc: mediatek: Kconfig: Add MTK_CMDQ dependency to MTK_MMSYS 2023-04-11 17:15:10 +02:00
Makefile soc: mediatek: Move power-domain drivers to the genpd dir 2023-07-11 15:30:09 +02:00
mt8167-mmsys.h soc: mediatek: add DDP_DOMPONENT_DITHER0 enum for mt8195 vdosys0 2022-04-22 14:38:53 +02:00
mt8173-mmsys.h soc: mediatek: mtk-mmsys: Split out MT8173 mmsys DDP routing table 2023-04-02 19:01:40 +02:00
mt8183-mmsys.h soc: mediatek: add DDP_DOMPONENT_DITHER0 enum for mt8195 vdosys0 2022-04-22 14:38:53 +02:00
mt8186-mmsys.h soc: mediatek: Add all settings to mtk_mmsys_ddp_dpi_fmt_config func 2022-11-08 19:25:30 +01:00
mt8188-mmsys.h soc: mediatek: add mtk-mmsys support for mt8188 vdosys0 2023-01-09 17:17:46 +01:00
mt8192-mmsys.h soc: mediatek: add DDP_DOMPONENT_DITHER0 enum for mt8195 vdosys0 2022-04-22 14:38:53 +02:00
mt8195-mmsys.h soc: mediatek: mmsys: add config api for RSZ switching and DCM 2023-03-06 14:35:44 +01:00
mt8365-mmsys.h soc: mediatek: mt8365-mmsys: add DPI/HDMI display path 2022-06-17 12:25:57 +02:00
mtk-cmdq-helper.c soc: mediatek: Explicitly include correct DT includes 2023-08-12 10:31:01 +02:00
mtk-devapc.c soc/mediatek: mtk-devapc: Convert to platform remove callback returning void 2023-10-14 23:27:25 +02:00
mtk-infracfg.c soc: mediatek: mtk-infracfg: Disable ACP on MT8192 2022-03-01 08:21:28 +01:00
mtk-mmsys.c soc/mediatek: mtk-mmsys: Convert to platform remove callback returning void 2023-10-14 23:27:29 +02:00
mtk-mmsys.h soc: mediatek: mtk-mmsys: Split out MT8173 mmsys DDP routing table 2023-04-02 19:01:40 +02:00
mtk-mutex.c soc: mediatek: Explicitly include correct DT includes 2023-08-12 10:31:01 +02:00
mtk-pmic-wrap.c soc: mediatek: Explicitly include correct DT includes 2023-08-12 10:31:01 +02:00
mtk-regulator-coupler.c soc: mediatek: Introduce mediatek-regulator-coupler driver 2023-01-30 11:27:49 +01:00
mtk-svs.c soc: mediatek: SVS: Fix MT8192 GPU node name 2023-06-09 16:34:47 +02:00