diff options
author | Sughosh Ganu <sughosh.ganu@linaro.org> | 2024-07-30 16:41:32 +0530 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-07-31 09:54:53 +0200 |
commit | 939afc80b6b5de23d70789f3cb3a391dd31319b1 (patch) | |
tree | fd6bf04ca23dc979e4ec580d569c95f77dd68b01 /include/fsl_dtsec.h | |
parent | e464ad085e522d09fadd825c2a1246450ff3188c (diff) | |
download | u-boot-939afc80b6b5de23d70789f3cb3a391dd31319b1.tar.gz u-boot-939afc80b6b5de23d70789f3cb3a391dd31319b1.tar.bz2 u-boot-939afc80b6b5de23d70789f3cb3a391dd31319b1.zip |
dm: use list_count_nodes() for counting list nodes
The linux kernel has the list_count_nodes() API functions which is
used for counting nodes of a list. This has now been imported in
U-Boot as part of an earlier commit. Use this function and drop the
list_count_items().
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include/fsl_dtsec.h')
0 files changed, 0 insertions, 0 deletions