On 15 April 2015 at 05:07, Przemyslaw Marczak <p.marc...@samsung.com> wrote: > This commit introduces simple tests for functions: > - uclass_find_first_device() > - uclass_find_next_device() > - uclass_first_device() > - uclass_next_device() > > Tests added by this commit: > - Test: dm_test_uclass_devices_find: > * call uclass_find_first_device(), then check if: (dev != NULL), (ret == 0) > * for the rest devices, call uclass_find_next_device() and do the same check > > - Test: dm_test_uclass_devices_get: > * call uclass_first_device(), then check if: > -- (dev != NULL), (ret == 0), device_active() > * for the rest devices, call uclass_next_device() and do the same check > > Signed-off-by: Przemyslaw Marczak <p.marc...@samsung.com> > Cc: Simon Glass <s...@chromium.org> > Acked-by: Simon Glass <s...@chromium.org> > --- > Changes V3: > - new commit > > Changes V4: > - add Acked-by
Applied to u-boot-dm, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot