USB: serial: make remove callback return void
Uwe Kleine-König authored
All usb_serial drivers return 0 in their remove callbacks and driver
core ignores the value returned by usb_serial_device_remove(). So change
the remove callback to return void and return 0 unconditionally in
usb_serial_device_remove().
Signed-off-by: default avatarUwe Kleine-König <uwe@kleine-koenig.org>
Link: https://lore.kernel.org/r/20210208143149.963644-2-uwe@kleine-koenig.org

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
c5d1448f
Name Last commit Last update
..
Kconfig USB: serial: add MaxLinear/Exar USB to Serial driver
Makefile USB: serial: add MaxLinear/Exar USB to Serial driver
Makefile-keyspan_pda_fw USB: add SPDX identifiers to all remaining Makefiles
aircable.c USB: serial: drop redundant transfer-buffer casts
ark3116.c USB: serial: make remove callback return void
belkin_sa.c USB: serial: make remove callback return void
belkin_sa.h USB: serial: Use the correct style for SPDX License Identifier
bus.c USB: serial: make remove callback return void
ch341.c USB: serial: make remove callback return void
console.c USB: serial: console: add support for flow control
cp210x.c USB: serial: make remove callback return void
cyberjack.c USB: serial: make remove callback return void
cypress_m8.c USB: serial: make remove callback return void
cypress_m8.h USB: serial: cypress_m8: enable Simply Automated UPB PIM
digi_acceleport.c USB: serial: make remove callback return void
empeg.c docs: usb: rename files to .rst and add them to drivers-api
ezusb_convert.pl License cleanup: add SPDX GPL-2.0 license identifier to files with no license
f81232.c USB: serial: f81232: drop short control-transfer checks
f81534.c USB: serial: make remove callback return void
ftdi_sio.c USB: serial: make remove callback return void
ftdi_sio.h USB: Fix up terminology
ftdi_sio_ids.h USB: serial: ftdi_sio: add support for FreeCalypso JTAG+UART adapters
garmin_gps.c USB: serial: make remove callback return void
generic.c USB: serial: drop redundant transfer-buffer casts
io_16654.h USB: serial: Use the correct style for SPDX License Identifier
io_edgeport.c
io_edgeport.h
io_ionsp.h
io_ti.c
io_ti.h
io_usbvend.h
ipaq.c
ipw.c
ir-usb.c
iuu_phoenix.c
iuu_phoenix.h
keyspan.c
keyspan_pda.c
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c
kl5kusb105.h
kobil_sct.c
kobil_sct.h
mct_u232.c
mct_u232.h
metro-usb.c
mos7720.c
mos7840.c
mxuport.c
navman.c
omninet.c
opticon.c
option.c
oti6858.c
oti6858.h
pl2303.c
pl2303.h
qcaux.c
qcserial.c
quatech2.c
safe_serial.c
sierra.c
spcp8x5.c
ssu100.c
symbolserial.c
ti_usb_3410_5052.c
upd78f0730.c
usb-serial-simple.c
usb-serial.c
usb-wwan.h
usb_debug.c
usb_wwan.c
visor.c
visor.h
whiteheat.c
whiteheat.h
wishbone-serial.c
xr_serial.c
xsens_mt.c