Skip to contentSkip to conversation

dt/platform: Fix comment in of_dev_lookup()

PATCH Applied Qi Zheng 2 participants 2 messages May 24, 2020 – May 27, 2020 Device tree

lore
Share & tools
lore

Qi Zheng

author
#0 lore raw

PATCH 1/1 dt/platform: Fix comment in of_dev_lookup()

The code is using of_dev_lookup() rather than of_devname_lookup().

---
 drivers/of/platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/of/platform.c +1 -1
index 3371e4a06248..3627fee60215 100644
@@ -291,7 +291,7 @@ static struct amba_device *of_amba_device_create(struct device_node *node,
 #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,
 				 struct device_node *np)
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 7 lines · Qi Zheng

The code is using of_dev_lookup() rather than of_devname_lookup().

---
 drivers/of/platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!