]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71bd057d052b0932988a1c741ddaf54c24455642
tree8543272a0e323a21d15e18e83f01c37570232e9e
parentd678ca2a044d5d9aef56b567d31057ef7f65fa8e
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