diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-16 21:20:13 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-18 20:32:21 -0700 |
commit | a20b4a8cfb1e974c28a41024420268bc05e0779d (patch) | |
tree | 2f7ba96e8b65185b5fd3102b92aa6082b7d8738e /test/dm/spi.c | |
parent | 4153e3a5fb9519beaa3e2c2dedd7e152a45c5ab8 (diff) | |
download | u-boot-a20b4a8cfb1e974c28a41024420268bc05e0779d.zip u-boot-a20b4a8cfb1e974c28a41024420268bc05e0779d.tar.gz u-boot-a20b4a8cfb1e974c28a41024420268bc05e0779d.tar.bz2 |
dm: test: Drop assumptions of no sequence numbers
Drop code in a few tests which assumes that sequence numbers are only
valid when a device is probed.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/spi.c')
-rw-r--r-- | test/dm/spi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/dm/spi.c b/test/dm/spi.c index fb180ae..b767cf9 100644 --- a/test/dm/spi.c +++ b/test/dm/spi.c @@ -26,9 +26,6 @@ static int dm_test_spi_find(struct unit_test_state *uts) struct spi_cs_info info; ofnode node; - ut_asserteq(-ENODEV, uclass_find_device_by_seq(UCLASS_SPI, busnum, - false, &bus)); - /* * The post_bind() method will bind devices to chip selects. Check * this then remove the emulation and the slave device. |