From: Luis R. Rodriguez Date: Mon, 19 Oct 2009 06:33:37 +0000 (-0400) Subject: ath9k_hw: simplify rf attach and rename to ath9k_hw_rf_alloc_ext_banks() X-Git-Tag: v2.6.33-rc1~388^2~449^2~129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=574d6b122d37549bc2817a4939d238f3d8b41da4;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed