staging: rtl8723bs: Convert timers to use timer_setup()
authorKees Cook <[email protected]>
Tue, 24 Oct 2017 08:27:23 +0000 (01:27 -0700)
committerGreg Kroah-Hartman <[email protected]>
Fri, 3 Nov 2017 13:49:08 +0000 (14:49 +0100)
commite8b1844a7e59fc35c086358021d9d42b4ce3ee22
treea367d7d4aaca6d86b841561c679a1643c6b4e0ab
parent1663b8faad61439a4236e013a9146985494fe235
staging: rtl8723bs: Convert timers to use timer_setup()

In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly. This performs some refactoring to
remove needless wrapper functions, and adds a pointer back to the desired
adapter.

Cc: Greg Kroah-Hartman <[email protected]>
Cc: Shreeya Patel <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: Larry Finger <[email protected]>
Cc: Himanshu Jha <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Derek Robson <[email protected]>
Cc: Harsha Sharma <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: yuan linyu <[email protected]>
Cc: Johannes Berg <[email protected]>
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
13 files changed:
drivers/staging/rtl8723bs/core/rtw_mlme.c
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
drivers/staging/rtl8723bs/core/rtw_recv.c
drivers/staging/rtl8723bs/include/osdep_service.h
drivers/staging/rtl8723bs/include/osdep_service_linux.h
drivers/staging/rtl8723bs/include/rtw_mlme.h
drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
drivers/staging/rtl8723bs/include/rtw_pwrctrl.h
drivers/staging/rtl8723bs/include/rtw_recv.h
drivers/staging/rtl8723bs/os_dep/mlme_linux.c
drivers/staging/rtl8723bs/os_dep/osdep_service.c
drivers/staging/rtl8723bs/os_dep/recv_linux.c