ath10k: deduplicate wmi_channel code
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 18 Sep 2014 13:21:21 +0000 (15:21 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 23 Sep 2014 09:30:58 +0000 (12:30 +0300)
commit2d66721c7bb1a6888eb17dd29758daf642df0b82
tree8c289bc6218c7bf435c07fd81e6b368d4981ae63
parent1435c2bbdd913281a982f49d6a886cbfbc0a5950
ath10k: deduplicate wmi_channel code

The structure is being set up in 2 places.
Deduplicate the code by creating a helper.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi.c