linux/drivers/usb/phy
Uwe Kleine-König 17eb819080 usb: phy: twl6030: 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/20230319092428.283054-12-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-23 17:35:27 +01:00
..
Kconfig usb: phy: remove phy-isp1301-omap driver 2023-01-12 10:53:11 +01:00
Makefile usb: phy: remove phy-isp1301-omap driver 2023-01-12 10:53:11 +01:00
of.c
phy-ab8500-usb.c usb: phy: ab8500: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-am335x-control.c usb: phy: am335x: convert to devm_platform_ioremap_resource_byname 2020-07-29 16:49:37 +02:00
phy-am335x-control.h
phy-am335x.c usb: phy: am335x: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-fsl-usb.c usb: phy: fsl: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-fsl-usb.h
phy-generic.c usb: phy: generic: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-generic.h
phy-gpio-vbus-usb.c usb: phy: gpio-vbus: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-isp1301.c usb: phy: isp1301: Convert to i2c's .probe_new() 2022-11-22 17:33:27 +01:00
phy-keystone.c usb: phy: keystone: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-mv-usb.c usb: phy: mv: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-mv-usb.h
phy-mxs-usb.c usb: phy: mxs: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-omap-otg.c extcon: Fix extcon_get_extcon_dev() error handling 2022-05-13 17:03:40 +09:00
phy-tahvo.c usb: phy: tahvo: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-tegra-usb.c usb: phy: tegra: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-twl6030-usb.c usb: phy: twl6030: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-ulpi-viewport.c usb: phy-ulpi-viewport: convert to readl_poll_timeout_atomic() 2020-09-25 16:30:05 +02:00
phy-ulpi.c
phy.c driver core: make struct device_type.uevent() take a const * 2023-01-27 13:45:36 +01:00