1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-29 13:49:21 +01:00
Files
u-boot-megous/drivers/core
Marcel Ziswiler f388564965 dm: device: fail uclass_find_first_device() if list_empty
While uclass_find_device() fails with -ENODEV in case of list_empty
strangely uclass_find_first_device() returns 0.

Fix uclass_find_first_device() to also fail with -ENODEV instead.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2019-02-09 07:51:00 -05:00
..
2019-01-18 09:16:15 -05:00
2018-09-18 08:12:21 -06:00
2018-11-14 09:16:27 -08:00