commit | dab7e0dd223c9e100556bb198af3217b0f1e9ea9 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Oct 23 17:26:09 2021 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sun Nov 28 16:51:51 2021 -0700 |
tree | 071caf2042aaadff4ebe4fb698a2aba4ba4d3b76 | |
parent | 4b23e45d9d75e76b6e8013817fe2c5728daaebb6 [diff] |
dm: core: Add a way to count the devices in a uclass Add a function that returns the number of devices in a uclass. This can be helpful in sizing an array that needs to hold a list of them. Signed-off-by: Simon Glass <sjg@chromium.org>