mirror-linux/drivers/crypto/caam
Krzysztof Kozlowski f0f1fd11d9 crypto: drivers - Use str_enable_disable-like helpers
Replace ternary (condition ? "enable" : "disable") syntax with helpers
from string_choices.h because:
1. Simple function call with one argument is easier to read.  Ternary
   operator has three arguments and with wrapping might lead to quite
   long code.
2. Is slightly shorter thus also easier to read.
3. It brings uniformity in the text - same string.
4. Allows deduping by the linker, which results in a smaller binary
   file.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> # QAT
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2025-02-09 18:08:11 +08:00
..
Kconfig crypto: caam: Make CRYPTO_DEV_FSL_CAAM dependent of COMPILE_TEST 2024-07-04 10:19:23 -07:00
Makefile
blob_gen.c crypto: caam - use JobR's space to access page 0 regs 2024-12-10 13:44:20 +08:00
caamalg.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
caamalg_desc.c
caamalg_desc.h
caamalg_qi.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
caamalg_qi2.c crypto: drivers - Use str_enable_disable-like helpers 2025-02-09 18:08:11 +08:00
caamalg_qi2.h crypto: caam: Unembed net_dev structure in dpaa2 2024-07-04 10:19:24 -07:00
caamhash.c crypto: caam - Pad SG length when allocating hash edesc 2024-09-21 17:14:59 +08:00
caamhash_desc.c
caamhash_desc.h
caampkc.c crypto: caam - add error check to caam_rsa_set_priv_key_form 2024-11-15 19:52:51 +08:00
caampkc.h
caamprng.c
caamrng.c
compat.h
ctrl.c crypto: caam: Avoid unused imx8m_machine_match variable 2024-07-04 10:19:23 -07:00
ctrl.h
debugfs.c
debugfs.h
desc.h
desc_constr.h
dpseci-debugfs.c
dpseci-debugfs.h
dpseci.c
dpseci.h
dpseci_cmd.h
error.c
error.h
intern.h
jr.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
jr.h
key_gen.c
key_gen.h
pdb.h
pkc_desc.c
qi.c crypto: caam - Slightly simplify platform_device() 2024-10-05 13:22:05 +08:00
qi.h
regs.h
sg_sw_qm.h
sg_sw_qm2.h
sg_sw_sec4.h