From a20b4a8cfb1e974c28a41024420268bc05e0779d Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 16 Dec 2020 21:20:13 -0700 Subject: 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 --- test/dm/i2c.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'test/dm/i2c.c') 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. -- cgit v1.1