linux/drivers/phy/freescale
Uwe Kleine-König c49de54c62 phy: freescale: fsl-samsung-hdmi: 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>
Link: https://lore.kernel.org/r/20240409161505.66619-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2024-04-12 15:18:42 +05:30
..
Kconfig phy: freescale: add Samsung HDMI PHY 2024-03-29 00:27:06 +05:30
Makefile phy: freescale: add Samsung HDMI PHY 2024-03-29 00:27:06 +05:30
phy-fsl-imx8-mipi-dphy.c phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes 2024-02-07 11:19:40 +01:00
phy-fsl-imx8m-pcie.c phy: freescale: imx8m-pcie: fix pcie link-up instability 2024-04-06 12:43:16 +05:30
phy-fsl-imx8mq-usb.c
phy-fsl-imx8qm-lvds-phy.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-fsl-lynx-28g.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-fsl-samsung-hdmi.c phy: freescale: fsl-samsung-hdmi: Convert to platform remove callback returning void 2024-04-12 15:18:42 +05:30