diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-05-13 18:13:35 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-14 16:29:50 -0400 |
commit | 6dcdc19e4ba4e6a9ccd733fdb745ad062cf3ea0a (patch) | |
tree | cb0a2b5dd6ada7582664b3d27c6cdbb4da29a152 /include/asm-sh/sh_keysc.h | |
parent | d6894b5be1d674a31a94ed8f057c9f7d98c53999 (diff) |
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 'include/asm-sh/sh_keysc.h')
0 files changed, 0 insertions, 0 deletions