crypto: qat - Use hweight for bit counting
authorTadeusz Struk <[email protected]>
Fri, 25 Jul 2014 22:55:57 +0000 (15:55 -0700)
committerHerbert Xu <[email protected]>
Fri, 1 Aug 2014 14:36:08 +0000 (22:36 +0800)
commitd9a44abf3aede89c3dbb6dfa8a95c856b9ae8da3
tree000c06fc0a7213825a2ab0b3f3a39bc26618e30b
parent689917211cb9d4ca6f90765eeb228ac2727f5dbc
crypto: qat - Use hweight for bit counting

Use predefined hweight32 function instead of writing a new one.

Signed-off-by: Pingchao Yang <[email protected]>
Signed-off-by: Tadeusz Struk <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
drivers/crypto/qat/qat_common/qat_hal.c