]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit84296b3c208227ce930f69bd33b46a7791e6730e
tree829e09f7b969caf9283b5550c31592f3b82462cf
parent6f2a49b47780235188746ae7cec1d53af9ecfceb
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