From: Harvey Harrison Date: Wed, 14 May 2008 01:13:35 +0000 (-0700) Subject: b43: use the bitrev helpers rather than rolling a private one X-Git-Tag: v2.6.27-rc1~969^2~441^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dcdc19e4ba4e6a9ccd733fdb745ad062cf3ea0a;p=pandora-kernel.git b43: use the bitrev helpers rather than rolling a private one The 4-bit reversal flip_4bit is replaced with the bitrev helper bitrev8 and a 4-bit shift. The B43_WARN is moved to the location where a register is read from for checking there. The other caller explicitly passes an array index which is guaranteed to be within range and so a B43_WARN is not added there. Signed-off-by: Harvey Harrison Reviewed-by: Michael Buesch Signed-off-by: John W. Linville --- Reading git-diff-tree failed