linux-stable/drivers/phy/tegra
Uwe Kleine-König 80460691c1 phy: tegra: xusb: 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-25-u.kleine-koenig@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-03-20 18:14:58 +05:30
..
Kconfig phy: tegra: Select USB_COMMON for usb_get_maximum_speed() 2020-04-16 15:05:53 +02:00
Makefile phy: tegra: xusb: Add Tegra234 support 2023-01-12 22:57:06 +05:30
phy-tegra194-p2u.c phy: tegra: p2u: Set ENABLE_L2_EXIT_RATE_CHANGE in calibration 2022-10-28 17:43:12 +05:30
xusb-tegra124.c phy: tegra: xusb: Remove usb3 supply 2022-11-07 10:20:25 +05:30
xusb-tegra186.c phy: tegra: xusb: Add Tegra234 support 2023-01-12 22:57:06 +05:30
xusb-tegra210.c phy: tegra: xusb: Remove usb3 supply 2022-11-07 10:20:25 +05:30
xusb.c phy: tegra: xusb: Convert to platform remove callback returning void 2023-03-20 18:14:58 +05:30
xusb.h phy: tegra: xusb: Add Tegra234 support 2023-01-12 22:57:06 +05:30