From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Fan Date: Wed, 22 May 2019 07:08:12 +0000 Subject: [U-Boot] [PATCH V2 2/3] test: dm: usb: use the real device name In-Reply-To: <20190522072201.5130-1-peng.fan@nxp.com> References: <20190522072201.5130-1-peng.fan@nxp.com> Message-ID: <20190522072201.5130-2-peng.fan@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de "keyb" is not the real device name, "keyb at 3" is. Signed-off-by: Peng Fan --- V2: New test/dm/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dm/usb.c b/test/dm/usb.c index 3493617544..ef454b0ae5 100644 --- a/test/dm/usb.c +++ b/test/dm/usb.c @@ -125,7 +125,7 @@ static int dm_test_usb_keyb(struct unit_test_state *uts) /* Initially there should be no characters */ ut_asserteq(0, tstc()); - ut_assertok(uclass_get_device_by_name(UCLASS_USB_EMUL, "keyb", + ut_assertok(uclass_get_device_by_name(UCLASS_USB_EMUL, "keyb at 3", &dev)); /* -- 2.16.4