[PATCH v6 02/20] dm: treewide: Do not opencode uclass_probe_all()

Simon Glass sjg at chromium.org
Mon Oct 17 23:29:26 CEST 2022


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

Signed-off-by: Michal Suchanek <msuchanek at suse.de>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
 drivers/cpu/cpu-uclass.c       | 20 ++++----------------
 drivers/virtio/virtio-uclass.c | 15 +--------------
 test/dm/core.c                 | 17 +++--------------
 test/test-main.c               | 11 +----------
 4 files changed, 9 insertions(+), 54 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list