On 2/6/23 21:17, Martin Kaiser wrote:
Remove the two pointers to media-specific start and stop functions. The r8188eu driver supports only usb. Update some of the functions in the start and stop paths to return standard error codes instead of _SUCCESS and _FAIL. Martin Kaiser (6): staging: r8188eu: pass a struct recv_buf to rtw_read_port staging: r8188eu: use standard error codes in rtw_read_port staging: r8188eu: use standard error codes in rtl8188eu_inirp_init staging: r8188eu: remove intf_start pointer staging: r8188eu: handle rtl8188eu_inirp_init errors staging: r8188eu: remove intf_stop pointer drivers/staging/r8188eu/hal/usb_halinit.c | 16 ++++++-------- drivers/staging/r8188eu/hal/usb_ops_linux.c | 20 ++++++++--------- drivers/staging/r8188eu/include/drv_types.h | 2 -- drivers/staging/r8188eu/include/hal_intf.h | 2 +- drivers/staging/r8188eu/include/rtw_io.h | 2 +- drivers/staging/r8188eu/os_dep/os_intfs.c | 12 +++++------ drivers/staging/r8188eu/os_dep/usb_intf.c | 24 +++------------------ 7 files changed, 26 insertions(+), 52 deletions(-)
Tested-by: Philipp Hortmann <philipp.g.hortmann@xxxxxxxxx> # Edimax N150