]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: make rtw_usb_if1_init return a status
authorMartin Kaiser <martin@kaiser.cx>
Wed, 7 Apr 2021 17:05:31 +0000 (19:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Apr 2021 07:26:32 +0000 (09:26 +0200)
commitefc29d383ef8118710fc23fdb055c6d2a9ff2be0
tree4394b41e1b3859592558ea4416dd1b14889e579d
parent71bd057d052b0932988a1c741ddaf54c24455642
staging: rtl8188eu: make rtw_usb_if1_init return a status

Return an error status instead of the struct adapter that was allocated
and filled. This is more useful for the probe function, who calls
rtw_usb_if1_init.

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