From: Peng Fan Date: Wed, 22 May 2019 07:08:12 +0000 (+0000) Subject: test: dm: usb: use the real device name X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=819ac50d2a7a05eab65b45c1c18fefedbef51e67;p=u-boot.git test: dm: usb: use the real device name "keyb" is not the real device name, "keyb@3" is. Signed-off-by: Peng Fan Reviewed-by: Bin Meng --- 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@3", &dev)); /*