]> git.baikalelectronics.ru Git - uboot.git/commit
dm: treewide: Do not opencode uclass_probe_all()
authorMichal Suchanek <msuchanek@suse.de>
Wed, 12 Oct 2022 19:57:51 +0000 (21:57 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2022 03:17:12 +0000 (21:17 -0600)
commitad27267b914827ab1b97913a4d16a6c2b1cfe7c3
tree8cb4406afa764a4ba95f70127282ea28b6658002
parent497d45f5ca4e12182039b00e92a61fbc37cce717
dm: treewide: Do not opencode uclass_probe_all()

We already have a function for probing all devices of a specific class,
use it.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/cpu/cpu-uclass.c
drivers/virtio/virtio-uclass.c
test/dm/core.c
test/test-main.c