linux/drivers/phy/mediatek
Uwe Kleine-König 30850b6e2b phy: mediatek: phy-mtk-mipi-dsi: 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>
Link: https://lore.kernel.org/r/20230307115900.2293120-9-u.kleine-koenig@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-03-20 18:14:56 +05:30
..
Kconfig phy: phy-mtk-dp: Add driver for DP phy 2022-07-05 12:28:09 +05:30
Makefile phy: phy-mtk-dp: Add driver for DP phy 2022-07-05 12:28:09 +05:30
phy-mtk-dp.c phy: phy-mtk-dp: make array driving_params static const 2022-09-29 21:01:27 +05:30
phy-mtk-hdmi-mt2701.c phy: mediatek: hdmi: mt2701: use common helper to access registers 2022-09-24 11:57:50 +05:30
phy-mtk-hdmi-mt8173.c phy: mediatek: hdmi: mt8173: use common helper to access registers 2022-09-24 11:57:50 +05:30
phy-mtk-hdmi.c phy: mediatek: hdmi: remove register access helpers 2022-09-24 11:57:50 +05:30
phy-mtk-hdmi.h phy: mediatek: hdmi: remove register access helpers 2022-09-24 11:57:50 +05:30
phy-mtk-io.h phy: mediatek: remove temporary variable @mask_ 2023-02-02 18:35:13 +05:30
phy-mtk-mipi-dsi-mt8173.c phy: mediatek: mipi: mt8173: use common helper to access registers 2022-09-24 11:57:50 +05:30
phy-mtk-mipi-dsi-mt8183.c phy: mediatek: mipi: mt8183: use common helper to access registers 2022-09-24 11:57:51 +05:30
phy-mtk-mipi-dsi.c phy: mediatek: phy-mtk-mipi-dsi: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
phy-mtk-mipi-dsi.h phy: mediatek: mipi: remove register access helpers 2022-09-24 11:57:51 +05:30
phy-mtk-pcie.c phy: mediatek: pcie: use new helper to update register bits 2022-09-24 11:57:49 +05:30
phy-mtk-tphy.c phy: mediatek: tphy: remove macros to prepare bitfield value 2022-09-24 11:57:49 +05:30
phy-mtk-ufs.c phy: mediatek: ufs: use common register access helpers 2022-09-24 11:57:49 +05:30
phy-mtk-xsphy.c phy: mediatek: xsphy: remove macros used to prepare bitfield value 2022-09-24 11:57:49 +05:30