dm: uclass: Add uclass_foreach_dev_probe
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 24 Oct 2018 12:10:16 +0000 (14:10 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 16 Nov 2018 21:51:55 +0000 (16:51 -0500)
commit37b596ac5c5f7ac405602af2577405b1f7d38cce
treed3c8d2d796e3c3c301462e08b3cbb1a79cbe5294
parentf6abd5389ceab5fce185126c2364a324465fafbe
dm: uclass: Add uclass_foreach_dev_probe

Add uclass_foreach_dev_probe() which iterates through
devices of a given uclass. Devices are probed if necessary
and are ready to use.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/dm/uclass.h