ath9k: use AR_SREV_9003_PCOEM to identify PCOEM chips
authorMiaoqing Pan <miaoqing@codeaurora.org>
Fri, 26 Feb 2016 08:08:42 +0000 (16:08 +0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Mar 2016 12:00:00 +0000 (14:00 +0200)
commit9c8ec9951d1e30f1339bcde8d324996412a3586b
tree73df547d29944b1f279ae3e93ea803b63cc4d5ac
parent27ae9cd258a84ce7259afbee38dbe7841e723a68
ath9k: use AR_SREV_9003_PCOEM to identify PCOEM chips

commit f49c90db4d23 ("ath9k: Add a macro to identify PCOEM chips")
defined AR_SREV_9003_PCOEM macro, its more clear to use the macro
instead of checking one by one. Also removed PCOEM chips checking
in the callback of ar9003_hw_do_pcoem_manual_peak_cal() which only
for PCOEM chips.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/ar9003_calib.c