
3 Nov
2018
3 Nov
'18
7:07 a.m.
On 24 October 2018 at 06:10, Patrice Chotard patrice.chotard@st.com wrote:
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
Changes in v4: None Changes in v3: None Changes in v2: None
drivers/core/uclass.c | 13 +++++++++++++ include/dm/uclass.h | 12 ++++++++++++ 2 files changed, 25 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org
We probably should have something that calls it for testing purposes, but I suspect that comes in a future patch.