staging: rtl8188eu: make usb_dvobj_init return a status
authorMartin Kaiser <martin@kaiser.cx>
Wed, 7 Apr 2021 17:05:30 +0000 (19:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Apr 2021 07:26:32 +0000 (09:26 +0200)
commit7a267097504f68ca4cd64fb1a80902a113230e1e
tree8543272a0e323a21d15e18e83f01c37570232e9e
parent57ae96149e8967ab1043dc1351966ac61b620978
staging: rtl8188eu: make usb_dvobj_init return a status

usb_dvobj_init populates a struct dvobj_priv and installs it as interface
data of the usb interface. There's no point in returning this struct to the
caller, it makes more sense to return an error status.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210407170531.29356-9-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_intf.c