Commit f9a529b9 authored by Qi Zheng's avatar Qi Zheng Committed by Rob Herring

dt/platform: Fix comment in of_dev_lookup()

The code is using of_dev_lookup() rather than of_devname_lookup().
Signed-off-by: default avatarQi Zheng <arch0.zheng@gmail.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 8a325dd0
...@@ -291,7 +291,7 @@ static struct amba_device *of_amba_device_create(struct device_node *node, ...@@ -291,7 +291,7 @@ static struct amba_device *of_amba_device_create(struct device_node *node,
#endif /* CONFIG_ARM_AMBA */ #endif /* CONFIG_ARM_AMBA */
/** /**
* of_devname_lookup() - Given a device node, lookup the preferred Linux name * of_dev_lookup() - Given a device node, lookup the preferred Linux name
*/ */
static const struct of_dev_auxdata *of_dev_lookup(const struct of_dev_auxdata *lookup, static const struct of_dev_auxdata *of_dev_lookup(const struct of_dev_auxdata *lookup,
struct device_node *np) struct device_node *np)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment