]> git.baikalelectronics.ru Git - kernel.git/commit
carl9170: Convert byte_rev_table uses to bitrev8
authorJoe Perches <joe@perches.com>
Tue, 28 Oct 2014 21:18:58 +0000 (14:18 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 30 Oct 2014 19:26:52 +0000 (15:26 -0400)
commit7a7e8a518877aab3ec33d4f21a04da06950933cb
tree1a0dd00ece0e81c4526540648b535dd8b18a919c
parentaf11d629eae98b6492a62cea85952fdb90091fd0
carl9170: Convert byte_rev_table uses to bitrev8

Use the inline function instead of directly indexing the array.

This allows some architectures with hardware instructions
for bit reversals to eliminate the array.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/phy.c