[PATCH v4] brcmfmac: btcoex: replace init_timer with setup_timer

2017-05-12 Thread Xie Qirong
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. Acked-by: Arend van Spriel Signed-off-by: Xie Qirong --- The combination of init_timer and setting up the data and

[PATCH] brcmfmac: btcoex: replace init_timer with setup_timer

2017-05-12 Thread Xie Qirong
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 Signed-off-by: Xie Qirong --- setup_timer.cocci suggested the following improvement

[PATCH] brcmfmac: btcoex: replace init_timer with setup_timer

2017-05-03 Thread Xie Qirong
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. Signed-off-by: Xie Qirong --- Patch was compile checked with: x86_64_defconfig + CONFIG_BRCMFMAC=y

[PATCH] brcmfmac: btcoex: replace init_timer with setup_timer

2017-05-03 Thread Xie Qirong
Signed-off-by: Xie Qirong --- 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. Patch was compile checked with: x86_64_defconfig + CONFIG_BRCMFMAC=y