Files
u-boot/test/dm
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-08-11 08:11:02 +02:00
2018-09-29 11:49:35 -06:00
2018-08-03 19:53:10 -04:00
2018-09-18 08:12:21 -06:00
2018-12-07 08:13:45 -05:00
2018-12-06 23:26:32 -05:00
2018-12-13 16:32:49 -07:00
2018-10-09 04:40:27 -06:00
2018-11-26 08:25:35 -05:00
2018-07-19 17:03:28 -04:00
2018-12-13 16:32:49 -07:00