Re: [v4] brcmfmac: btcoex: replace init_timer with setup_timer
From: Kalle Valo
Date: Mon May 22 2017 - 11:19:25 EST
Xie Qirong <cheerx1994@xxxxxxxxx> wrote:
> setup_timer.cocci suggested the following improvement:
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:383:1-11: Use
> setup_timer function for function on line 384.
>
> The combination of init_timer and setting up the data and function field
> manually is equivalent to calling setup_timer(). This is an api
> consolidation only and improves readability.
>
> Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
> Signed-off-by: Xie Qirong <cheerx1994@xxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
6572e5f72d01 brcmfmac: btcoex: replace init_timer with setup_timer
--
https://patchwork.kernel.org/patch/9723793/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches