提交 819ac50d 编写于 作者: P Peng Fan 提交者: Tom Rini

test: dm: usb: use the real device name

"keyb" is not the real device name, "keyb@3" is.
Signed-off-by: NPeng Fan <peng.fan@nxp.com>
Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
上级 38ee9dfe
...@@ -125,7 +125,7 @@ static int dm_test_usb_keyb(struct unit_test_state *uts) ...@@ -125,7 +125,7 @@ static int dm_test_usb_keyb(struct unit_test_state *uts)
/* Initially there should be no characters */ /* Initially there should be no characters */
ut_asserteq(0, tstc()); 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)); &dev));
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册