dm: core: Rename dev_has_of_node() to dev_has_ofnode()

We use 'ofnode' rather than 'of_node' in U-Boot. Rename this function to
fit.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2020-12-19 10:40:12 -07:00
parent 156004f863
commit c23405f817
5 changed files with 5 additions and 5 deletions

View File

@@ -517,7 +517,7 @@ static ofnode usb_get_ofnode(struct udevice *hub, int port)
ofnode node;
u32 reg;
if (!dev_has_of_node(hub))
if (!dev_has_ofnode(hub))
return ofnode_null();
/*