summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9002_phy.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-12 13:14:23 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-01-07 15:16:51 -0500
commitc1b976d2fcb3b308906be7c6bda1390251dec32d (patch)
treea30dc3bf72e00db673c3414cc8b845a657b7f99c /drivers/net/wireless/ath/ath9k/ar9002_phy.c
parentb81950b165ff71d826fcac851153f9265a83d9ab (diff)
downloadlinux-stable-c1b976d2fcb3b308906be7c6bda1390251dec32d.tar.gz
linux-stable-c1b976d2fcb3b308906be7c6bda1390251dec32d.tar.bz2
linux-stable-c1b976d2fcb3b308906be7c6bda1390251dec32d.zip
ath9k_hw: use the devres API for allocations
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9002_phy.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9002_phy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_phy.c b/drivers/net/wireless/ath/ath9k/ar9002_phy.c
index 846dd7974eb8..8b119811b2d9 100644
--- a/drivers/net/wireless/ath/ath9k/ar9002_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar9002_phy.c
@@ -561,8 +561,6 @@ void ar9002_hw_attach_phy_ops(struct ath_hw *ah)
struct ath_hw_ops *ops = ath9k_hw_ops(ah);
priv_ops->set_rf_regs = NULL;
- priv_ops->rf_alloc_ext_banks = NULL;
- priv_ops->rf_free_ext_banks = NULL;
priv_ops->rf_set_freq = ar9002_hw_set_channel;
priv_ops->spur_mitigate_freq = ar9002_hw_spur_mitigate;
priv_ops->olc_init = ar9002_olc_init;