linux/drivers/usb
Uwe Kleine-König 25b979e46f usb: phy: mv: 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-8-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-23 17:35:27 +01:00
..
atm usb: move from strlcpy with unused retval to strscpy 2022-08-19 11:08:54 +02:00
c67x00
cdns3 usb: cdns3: change some trace event __dynamic_array() to __get_buf() 2023-03-09 15:35:03 +01:00
chipidea usb: chipidea: debug: remove redundant 'role' debug file 2023-03-23 17:27:46 +01:00
class tty: Call ->dtr_rts() parameter active consistently 2023-01-19 16:04:35 +01:00
common Driver core changes for 6.3-rc1 2023-02-24 12:58:55 -08:00
core usb: acpi: Switch to use acpi_evaluate_dsm_typed() 2023-03-16 12:15:10 +01:00
dwc2 usb: Use of_property_read_bool() for boolean properties 2023-03-16 12:14:56 +01:00
dwc3 usb: remove dead code in dwc3_gadget_get_irq 2023-03-16 12:14:14 +01:00
early usb: early: xhci-dbc: Use memcpy_and_pad() 2023-01-31 10:40:54 +01:00
fotg210 USB: fotg210: fix memory leak with using debugfs_lookup() 2023-02-06 13:46:42 +01:00
gadget usb: gadget: udc: remove unused usbf_ep_dma_reg_clrset function 2023-03-23 17:34:37 +01:00
host xhci: Move xhci MSI sync function to to xhci-pci 2023-03-23 17:25:23 +01:00
image usb/image: fix repeated words in comments 2022-07-27 14:33:53 +02:00
isp1760
misc usb: ftdi-elan: Delete driver 2023-03-21 16:31:59 +01:00
mon mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
mtu3 usb: mtu3: fix the failure of qmu stop 2023-01-19 14:12:08 +01:00
musb usb: Use of_property_present() for testing DT property presence 2023-03-16 12:14:50 +01:00
phy usb: phy: mv: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
renesas_usbhs usb: renesas_usbhs: drop of_match_ptr for ID table 2023-03-16 12:15:23 +01:00
roles driver core: make struct device_type.uevent() take a const * 2023-01-27 13:45:36 +01:00
serial USB: serial: quatech2: remove unused qt2_setdevice function 2023-03-23 17:35:00 +01:00
storage USB: ene_usb6250: Allocate enough memory for full object 2023-02-06 13:46:42 +01:00
typec usb: typec: tipd: remove unused tps6598x_write16,32 functions 2023-03-23 17:34:57 +01:00
usbip Including fixes from bpf, netfilter and can. 2022-12-21 08:41:32 -08:00
Kconfig usb: fotg210: Collect pieces of dual mode controller 2022-11-09 12:38:09 +01:00
Makefile usb: host: u132-hcd: Delete driver 2023-03-21 14:06:11 +01:00
usb-skeleton.c usb: add usb_set_intfdata() documentation 2022-11-29 08:56:09 +01:00