ath9k_hw: fix duplicate (and partially wrong) definition of AR_CH0_THERM
authorFelix Fietkau <nbd@nbd.name>
Mon, 11 Jul 2016 10:02:45 +0000 (12:02 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 19 Jul 2016 17:59:04 +0000 (20:59 +0300)
commit3ff25093cbdd04add5c23f1f71f6a2a4ea6b9ec0
tree5e6e6604ed8c6deaf7f00a9a41b0b7557eae4993
parent7d6c2d1e34ef9a5675a7a4a8811cecbb2dd273dd
ath9k_hw: fix duplicate (and partially wrong) definition of AR_CH0_THERM

AR_PHY_65NM_CH0_THERM and AR_CH0_THERM were supposed to refer to the
same register, however they had different SREV checks.

Remove the duplicate and use the checks. Since there were other SREV
checks present in the only place that uses this, this will probaby not
affect runtime behavior.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/ar9003_phy.h