diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-10-19 02:33:37 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-30 16:50:37 -0400 |
commit | 574d6b122d37549bc2817a4939d238f3d8b41da4 (patch) | |
tree | 85de91f82240ea923478b09281502508bc35952c /drivers/net/hp100.c | |
parent | b67b4397cfbfca8f5c4fff2a36e00d81ef6a28c2 (diff) | |
download | blackbird-op-linux-574d6b122d37549bc2817a4939d238f3d8b41da4.tar.gz blackbird-op-linux-574d6b122d37549bc2817a4939d238f3d8b41da4.zip |
ath9k_hw: simplify rf attach and rename to ath9k_hw_rf_alloc_ext_banks()
ath9k_hw_rfattach() was just calling a helper and this helper was
doing nothing for single-chip devices, and for non single-chip devices
it is just allocating memory for banks to program the RF registers
at a later time. Simplify this by having the hw initialization call
the rf bank allocation directly for external radios.
Also, propagate an -ENOMEM properly now upon failure.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/hp100.c')
0 files changed, 0 insertions, 0 deletions