linux/drivers/phy/cadence
Uwe Kleine-König e9ddb1ad98 phy: cadence: phy-cadence-sierra: 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-5-u.kleine-koenig@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-03-20 18:14:56 +05:30
..
cdns-dphy-rx.c phy: cadence: Add Cadence D-PHY Rx driver 2022-03-02 19:54:42 +05:30
cdns-dphy.c phy: cadence: cdns-dphy: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
Kconfig phy: cadence: Add Cadence D-PHY Rx driver 2022-03-02 19:54:42 +05:30
Makefile phy: cadence: Add Cadence D-PHY Rx driver 2022-03-02 19:54:42 +05:30
phy-cadence-salvo.c phy/cadence: Use of_device_get_match_data() 2022-02-25 13:58:12 +05:30
phy-cadence-sierra.c phy: cadence: phy-cadence-sierra: Convert to platform remove callback returning void 2023-03-20 18:14:56 +05:30
phy-cadence-torrent.c phy: cadence-torrent: Remove unused regmap field from state struct 2022-07-08 10:40:43 +05:30