[0/6] staging: r8188eu: remove intf_start and intf_stop

Message ID 20230206201800.139195-1-martin@kaiser.cx
Headers
Series staging: r8188eu: remove intf_start and intf_stop |

Message

Martin Kaiser Feb. 6, 2023, 8:17 p.m. UTC
  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(-)
  

Comments

Philipp Hortmann Feb. 7, 2023, 6:13 a.m. UTC | #1
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@gmail.com> # Edimax N150