dm: core: Switch uclass_foreach_dev_probe to use simple iterator
authorMichal Suchanek <msuchanek@suse.de>
Wed, 12 Oct 2022 19:58:05 +0000 (21:58 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2022 03:17:12 +0000 (21:17 -0600)
commit801f71194c54c75e90d723b9be3434b6354fce71
tree829e09f7b969caf9283b5550c31592f3b82462cf
parent7b2aa218c7f642f1b60ea99cbaa62ed1c45f4d21
dm: core: Switch uclass_foreach_dev_probe to use simple iterator

The return value is not used for anythig, and in a later patch the
behavior of the _err iterator will change in an incompatible way.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Update pvblock_probe() to avoid using internal var:
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/xen/pvblock.c
include/dm/uclass.h