summaryrefslogtreecommitdiff
path: root/drivers/usb/host/usb-uclass.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-28 17:50:01 -0700
committerSimon Glass <sjg@chromium.org>2020-12-13 07:58:18 -0700
commit734206dda14b328bfb946eea1e343f06a5fcceea (patch)
tree5c128cef80a0e3df8d4fff20653c790eba4bb3f9 /drivers/usb/host/usb-uclass.c
parente12052b3227bb0d77125970dc9f731e052b1c730 (diff)
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 'drivers/usb/host/usb-uclass.c')
-rw-r--r--drivers/usb/host/usb-uclass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host/usb-uclass.c
index 8773824e05..2f8c9037c1 100644
--- a/drivers/usb/host/usb-uclass.c
+++ b/drivers/usb/host/usb-uclass.c
@@ -581,8 +581,8 @@ static int usb_find_and_bind_driver(struct udevice *parent,
* find another driver. For now this doesn't seem
* necesssary, so just bind the first match.
*/
- ret = device_bind_ofnode(parent, drv, drv->name, NULL,
- node, &dev);
+ ret = device_bind(parent, drv, drv->name, NULL, node,
+ &dev);
if (ret)
goto error;
debug("%s: Match found: %s\n", __func__, drv->name);