brcmfmac: btcoex: replace init_timer with setup_timer
authorXie Qirong <cheerx1994@gmail.com>
Fri, 12 May 2017 09:32:59 +0000 (17:32 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 22 May 2017 15:18:05 +0000 (18:18 +0300)
commit6572e5f72d01121f21734a1309dac2ecd7bbff95
tree8e7004470fcd28f27be3ef27f4d158fe8c2a78d3
parent3c89a72ad80c64bdbd5ff851ee9c328a191f7e01
brcmfmac: btcoex: replace init_timer with setup_timer

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@broadcom.com>
Signed-off-by: Xie Qirong <cheerx1994@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c