cw1200: 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. Cc: Solomon Peachy <pizza@shaftnet.org> Cc: Kalle Valo <kvalo@codeaurora.org> Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
@@ -2112,10 +2112,9 @@ void cw1200_multicast_stop_work(struct work_struct *work)
|
||||
}
|
||||
}
|
||||
|
||||
void cw1200_mcast_timeout(unsigned long arg)
|
||||
void cw1200_mcast_timeout(struct timer_list *t)
|
||||
{
|
||||
struct cw1200_common *priv =
|
||||
(struct cw1200_common *)arg;
|
||||
struct cw1200_common *priv = from_timer(priv, t, mcast_timeout);
|
||||
|
||||
wiphy_warn(priv->hw->wiphy,
|
||||
"Multicast delivery timeout.\n");
|
||||
|
Reference in New Issue
Block a user