commit | 939afc80b6b5de23d70789f3cb3a391dd31319b1 | [log] [tgz] |
---|---|---|
author | Sughosh Ganu <sughosh.ganu@linaro.org> | Tue Jul 30 16:41:32 2024 +0530 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Wed Jul 31 09:54:53 2024 +0200 |
tree | fd6bf04ca23dc979e4ec580d569c95f77dd68b01 | |
parent | e464ad085e522d09fadd825c2a1246450ff3188c [diff] |
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>