commit | 4dff1789f3f9f407202eb4f084beaf5868df6bcc | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@st.com> | Wed Oct 24 14:10:15 2018 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Nov 16 16:51:55 2018 -0500 |
tree | 2b3387cdadc4dd9649b5f0b3785d5d945d8b2ca0 | |
parent | fbf808282f0744c7e8b516338e22a1af15ffcb63 [diff] |
dm: uclass: Add uclass_next_device_err() to return a valid device Similarly to uclass_first_device_err(), add uclass_next_device_err() which returns an error if there are no next devices in that uclass. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>