linux/drivers/phy
Uwe Kleine-König b1d9ad6658 phy: ti: phy-am654-serdes: 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-26-u.kleine-koenig@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-03-20 18:14:58 +05:30
..
allwinner phy: allwinner: phy-sun4i-usb: Convert to platform remove callback returning void 2023-03-20 18:14:55 +05:30
amlogic phy: amlogic: phy-meson-axg-mipi-pcie-analog: Hold reference returned by of_get_parent() 2022-09-20 11:56:38 +05:30
broadcom phy: broadcom: phy-brcm-usb: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
cadence phy: cadence: phy-cadence-torrent: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
freescale phy: freescale: phy-fsl-imx8qm-lvds-phy: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
hisilicon phy: HiSilicon: Fix copy and paste bug in error handling 2021-11-23 10:42:13 +05:30
ingenic phy: ingenic: Fix a typo in ingenic_usb_phy_probe() 2021-03-30 23:35:17 +05:30
intel phy: intel: phy-intel-lgm-combo: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
lantiq phy: lantiq: rcu-usb2: wait after clock enable 2021-01-13 19:29:03 +05:30
marvell phy: use devm_platform_get_and_ioremap_resource() 2022-11-24 23:23:07 +05:30
mediatek phy: mediatek: phy-mtk-mipi-dsi: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
microchip phy-for-6.1 2022-10-07 16:03:01 -07:00
motorola phy: motorola: phy-mapphone-mdm6600: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
mscc
qualcomm phy: qualcomm: phy-qcom-ipq806x-sata: Convert to platform remove callback returning void 2023-03-20 18:14:57 +05:30
ralink phy: ralink: mt7621-pci: add sentinel to quirks table 2022-11-05 13:01:25 +05:30
renesas phy: renesas: r8a779f0-ether-serdes: Convert to platform remove callback returning void 2023-03-20 18:14:57 +05:30
rockchip phy: rockchip: phy-rockchip-typec: Convert to platform remove callback returning void 2023-03-20 18:14:58 +05:30
samsung phy: samsung,mipi-video-phy: deprecate syscon phandle 2023-02-03 20:21:26 +01:00
socionext phy: uniphier-usb3ss: fix unintended writing zeros to PHY register 2021-12-24 10:06:38 +05:30
st phy: st: phy-stm32-usbphyc: Convert to platform remove callback returning void 2023-03-20 18:14:58 +05:30
sunplus phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe() 2023-01-12 23:43:35 +05:30
tegra phy: tegra: xusb: Convert to platform remove callback returning void 2023-03-20 18:14:58 +05:30
ti phy: ti: phy-am654-serdes: Convert to platform remove callback returning void 2023-03-20 18:14:58 +05:30
xilinx phy: xilinx: zynqmp: Fix bus width setting for SGMII 2022-01-27 10:55:26 +05:30
Kconfig phy: usb: Add USB2.0 phy driver for Sunplus SP7021 2022-09-02 21:01:24 +05:30
Makefile phy: usb: Add USB2.0 phy driver for Sunplus SP7021 2022-09-02 21:01:24 +05:30
phy-can-transceiver.c phy: fixes for 6.2 2023-02-14 19:25:45 +05:30
phy-core-mipi-dphy.c phy: dphy: add support to calculate the timing based on hs_clk_rate 2022-10-27 14:38:04 +03:00
phy-core.c phy: Add devm_of_phy_optional_get() helper 2023-02-03 10:52:49 +05:30
phy-lgm-usb.c phy: phy-lgm-usb: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c phy: phy-xgene.c: Fix alignment of comment 2021-05-31 14:08:55 +05:30