crypto: qat - remove BITS_IN_DWORD()
authorSuman Kumar Chakraborty <suman.kumar.chakraborty@intel.com>
Fri, 28 Mar 2025 10:33:02 +0000 (10:33 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 7 Apr 2025 05:22:26 +0000 (13:22 +0800)
commit1b58e2bb7762c13a5b87c683a8517ad2a1a3cda5
tree390782117b7db88f678f6540132b0fa85275b96b
parente5661d9cf27b6964b6acc0eb8cbe9ce8827e36c8
crypto: qat - remove BITS_IN_DWORD()

The BITS_IN_DWORD() macro, which represents the number of bits in the
registers accessed by the firmware loader, is currently defined as 32.

For consistency and readability, replace this macro with the existing
BITS_PER_TYPE() macro, which serves the same purpose.

This does not introduce any functional change.

Signed-off-by: Suman Kumar Chakraborty <suman.kumar.chakraborty@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_common/qat_uclo.c