diff options
author | Herve Codina <herve.codina@bootlin.com> | 2024-08-08 09:11:02 +0200 |
---|---|---|
committer | Christophe Leroy <christophe.leroy@csgroup.eu> | 2024-09-03 07:49:18 +0200 |
commit | 58edcace87b0f5d210b171803988ff7602b2410b (patch) | |
tree | f91042e2546d6ee68d067077f338d782760544fd /lib/crypto/mpi/mpiutil.c | |
parent | 442f3799fa387ab4c0c9b2d20490d582b96532d1 (diff) |
soc: fsl: cpm1: tsa: Use ARRAY_SIZE() instead of hardcoded integer values
Loops handling the tdm array use hardcoded size and the initialization
part uses hardcoded indexes to initialize the array.
Use ARRAY_SIZE() to avoid the hardcoded size and initialize the array
using a loop.
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20240808071132.149251-10-herve.codina@bootlin.com
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions