aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-19 10:40:12 -0700
committerSimon Glass <sjg@chromium.org>2021-01-05 12:24:41 -0700
commitc23405f8176c8d32d36ad992eb203ec87c4f5507 (patch)
treec962504eb5341d8445021d36640bca18d11396ad /include
parent156004f863c06ed985ed089450977827e11cb451 (diff)
downloadu-boot-c23405f8176c8d32d36ad992eb203ec87c4f5507.zip
u-boot-c23405f8176c8d32d36ad992eb203ec87c4f5507.tar.gz
u-boot-c23405f8176c8d32d36ad992eb203ec87c4f5507.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/dm/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/device.h b/include/dm/device.h
index a0c1752..b15a14e 100644
--- a/include/dm/device.h
+++ b/include/dm/device.h
@@ -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);
}