]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Allow getting some basic stats
authorSimon Glass <sjg@chromium.org>
Fri, 17 Dec 2021 03:59:32 +0000 (20:59 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 23 Dec 2021 15:24:40 +0000 (10:24 -0500)
commit6476c4d9818beac88610f18ff3c3cb05c7a1f33b
tree90bbf1c2bbaa910806e695a472bc52000056721d
parent985503439762c3168aeb80f529bb9bbcd773dd2c
dm: core: Allow getting some basic stats

Add a function that returns some basic stats about driver model. For now
we only have two.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
drivers/core/root.c
drivers/core/uclass.c
include/dm/device.h
include/dm/root.h
include/dm/uclass-internal.h
test/dm/core.c