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>
diff --git a/drivers/pinctrl/pinctrl-uclass.c b/drivers/pinctrl/pinctrl-uclass.c
index 4e474cb..4653e86 100644
--- a/drivers/pinctrl/pinctrl-uclass.c
+++ b/drivers/pinctrl/pinctrl-uclass.c
@@ -305,7 +305,7 @@
* Some device which is logical like mmc.blk, do not have
* a valid ofnode.
*/
- if (!dev_has_of_node(dev))
+ if (!dev_has_ofnode(dev))
return 0;
/*
* Try full-implemented pinctrl first.