diff options
author | Herve Codina <[email protected]> | 2024-08-08 09:11:02 +0200 |
---|---|---|
committer | Christophe Leroy <[email protected]> | 2024-09-03 07:49:18 +0200 |
commit | 58edcace87b0f5d210b171803988ff7602b2410b (patch) | |
tree | f91042e2546d6ee68d067077f338d782760544fd /tools/perf/scripts/python/libxed.py | |
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 <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christophe Leroy <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions