Skip to content
Commit c5d1448f authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Johan Hovold
Browse files

USB: serial: make remove callback return void



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>
parent a54af1b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment