aboutsummaryrefslogtreecommitdiff
path: root/test/dm/i2c.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-16 21:20:13 -0700
committerSimon Glass <sjg@chromium.org>2020-12-18 20:32:21 -0700
commita20b4a8cfb1e974c28a41024420268bc05e0779d (patch)
tree2f7ba96e8b65185b5fd3102b92aa6082b7d8738e /test/dm/i2c.c
parent4153e3a5fb9519beaa3e2c2dedd7e152a45c5ab8 (diff)
downloadu-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/i2c.c')
-rw-r--r--test/dm/i2c.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/dm/i2c.c b/test/dm/i2c.c
index 681ce45..d74f5f9 100644
--- a/test/dm/i2c.c
+++ b/test/dm/i2c.c
@@ -28,9 +28,6 @@ static int dm_test_i2c_find(struct unit_test_state *uts)
struct udevice *bus, *dev;
const int no_chip = 0x10;
- ut_asserteq(-ENODEV, uclass_find_device_by_seq(UCLASS_I2C, busnum,
- false, &bus));
-
/*
* The post_bind() method will bind devices to chip selects. Check
* this then remove the emulation and the slave device.