diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-05-14 01:13:35 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-14 20:29:50 (GMT) |
commit | 6dcdc19e4ba4e6a9ccd733fdb745ad062cf3ea0a (patch) | |
tree | cb0a2b5dd6ada7582664b3d27c6cdbb4da29a152 /lib | |
parent | d6894b5be1d674a31a94ed8f057c9f7d98c53999 (diff) | |
download | linux-fsl-qoriq-6dcdc19e4ba4e6a9ccd733fdb745ad062cf3ea0a.tar.xz |
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 <harvey.harrison@gmail.com>
Reviewed-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions