summaryrefslogtreecommitdiff
path: root/test/dm/core.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-29 03:50:01 +0300
committerSimon Glass <sjg@chromium.org>2020-12-13 17:58:18 +0300
commit734206dda14b328bfb946eea1e343f06a5fcceea (patch)
tree5c128cef80a0e3df8d4fff20653c790eba4bb3f9 /test/dm/core.c
parente12052b3227bb0d77125970dc9f731e052b1c730 (diff)
downloadu-boot-734206dda14b328bfb946eea1e343f06a5fcceea.tar.xz
dm: core: Rename device_bind_ofnode() to device_bind()
This is the standard function to use when binding devices. Drop the '_ofnode' suffix to make this clear. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/core.c')
-rw-r--r--test/dm/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dm/core.c b/test/dm/core.c
index 6f380a574c..ba9e60d09c 100644
--- a/test/dm/core.c
+++ b/test/dm/core.c
@@ -1052,8 +1052,8 @@ static int dm_test_inactive_child(struct unit_test_state *uts)
*/
ut_asserteq(-ENODEV, device_find_first_inactive_child(parent,
UCLASS_TEST, &dev1));
- ut_assertok(device_bind_ofnode(parent, DM_GET_DRIVER(test_drv),
- "test_child", 0, ofnode_null(), &dev1));
+ ut_assertok(device_bind(parent, DM_GET_DRIVER(test_drv),
+ "test_child", 0, ofnode_null(), &dev1));
ut_assertok(device_find_first_inactive_child(parent, UCLASS_TEST,
&dev2));