]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95201067cda363c805ea191638f41bf82aad0f7d
tree8c289bc6218c7bf435c07fd81e6b368d4981ae63
parent081748a33e426d6a4ae8092a98ab663be92ce4de
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