staging: rtlwifi: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Mon, 16 Oct 2017 23:25:12 +0000 (16:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 13:52:39 +0000 (15:52 +0200)
commitf8af6a323368dd28fcea9742d582593c9adb2261
tree9dc5a708a3fbda8ffb58c37e45a537269bc5e789
parent682455befdc549bee146502d541a9a0c63f298de
staging: rtlwifi: 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. Also drops unused odm timer code.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Ping-Ke Shih <pkshih@realtek.com>
Cc: shaofu <shaofu@realtek.com>
Cc: devel@driverdev.osuosl.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/base.c
drivers/staging/rtlwifi/base.h
drivers/staging/rtlwifi/core.c
drivers/staging/rtlwifi/phydm/phydm_interface.c
drivers/staging/rtlwifi/phydm/phydm_interface.h
drivers/staging/rtlwifi/ps.c