crypto: qat - Use hweight for bit counting
authorTadeusz Struk <tadeusz.struk@intel.com>
Fri, 25 Jul 2014 22:55:57 +0000 (15:55 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
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 <pingchao.yang@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/qat_hal.c