diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-29 03:50:01 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-13 17:58:18 +0300 |
commit | 734206dda14b328bfb946eea1e343f06a5fcceea (patch) | |
tree | 5c128cef80a0e3df8d4fff20653c790eba4bb3f9 /drivers/firmware | |
parent | e12052b3227bb0d77125970dc9f731e052b1c730 (diff) | |
download | u-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 'drivers/firmware')
-rw-r--r-- | drivers/firmware/scmi/scmi_agent-uclass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/scmi/scmi_agent-uclass.c b/drivers/firmware/scmi/scmi_agent-uclass.c index 7dc533149b..b3d3f0a51b 100644 --- a/drivers/firmware/scmi/scmi_agent-uclass.c +++ b/drivers/firmware/scmi/scmi_agent-uclass.c @@ -89,8 +89,8 @@ static int scmi_bind_protocols(struct udevice *dev) continue; } - ret = device_bind_ofnode(dev, drv, ofnode_get_name(node), - NULL, node, NULL); + ret = device_bind(dev, drv, ofnode_get_name(node), NULL, node, + NULL); if (ret) break; } |