]> git.dujemihanovic.xyz Git - u-boot.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)
commitc0648b7b9dc10ed49e2d4b1bedaa5ccd17e23fb3
tree8cb4406afa764a4ba95f70127282ea28b6658002
parentdfecd631922b61a062da3d1fa6a72f9fb93c0952
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