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

@@ -305,7 +305,7 @@ int pinctrl_select_state(struct udevice *dev, const char *statename)
* 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.