staging: rtl8188eu: remove padapter from struct cmd_priv
authorMartin Kaiser <martin@kaiser.cx>
Wed, 5 May 2021 20:26:20 +0000 (22:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:19:41 +0000 (11:19 +0200)
commit24aa9caccbe13fde07b92f03e6fc097a8e3fbd34
treee13e917413bb8c519c2e0dda367e15778bc8496c
parent286d6003391858e6beeaa674d90578bd4aff3010
staging: rtl8188eu: remove padapter from struct cmd_priv

struct cmd_priv is an element of struct adapter. Use container_of
to get a pointer to the enclosing struct.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210505202622.11087-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_cmd.c
drivers/staging/rtl8188eu/include/rtw_cmd.h
drivers/staging/rtl8188eu/os_dep/os_intfs.c