Files
u-boot/drivers
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
..
2018-12-06 14:38:03 -08:00
2019-01-15 15:28:53 -05:00
2018-12-18 09:56:26 +08:00
2018-12-19 15:23:00 +01:00
2019-02-01 14:13:36 +01:00
2018-12-06 14:37:51 -08:00
2019-01-18 22:19:08 +05:30
2018-07-19 16:31:38 -04:00
2019-02-01 16:59:10 +01:00
2018-11-29 09:30:06 -07:00
2018-12-06 23:26:32 -05:00