linux/drivers/phy/freescale
Uwe Kleine-König 780d771d7f phy: freescale: phy-fsl-imx8qm-lvds-phy: 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-7-u.kleine-koenig@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-03-20 18:14:56 +05:30
..
Kconfig phy: freescale: Add i.MX8qm Mixel LVDS PHY support 2022-07-08 10:43:20 +05:30
Makefile phy: freescale: Add i.MX8qm Mixel LVDS PHY support 2022-07-08 10:43:20 +05:30
phy-fsl-imx8-mipi-dphy.c phy: freescale: phy-fsl-imx8-mipi-dphy: Add i.MX8qxp LVDS PHY mode support 2022-04-20 12:59:50 +05:30
phy-fsl-imx8m-pcie.c phy: freescale: imx8m-pcie: Add one missing error return 2023-01-13 23:25:38 +05:30
phy-fsl-imx8mq-usb.c phy: freescale: convert to devm_platform_ioremap_resource 2020-11-16 12:47:46 +05:30
phy-fsl-imx8qm-lvds-phy.c phy: freescale: phy-fsl-imx8qm-lvds-phy: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
phy-fsl-lynx-28g.c phy: Remove duplicated include in phy-fsl-lynx-28g.c 2022-03-16 19:34:34 -07:00