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

@@ -200,7 +200,7 @@ static inline int dev_of_offset(const struct udevice *dev)
return ofnode_to_offset(dev->node);
}
static inline bool dev_has_of_node(struct udevice *dev)
static inline bool dev_has_ofnode(struct udevice *dev)
{
return ofnode_valid(dev->node);
}