* [PATCH] dt/platform: Fix comment in of_dev_lookup()
@ 2020-05-24 15:26 Qi Zheng
2020-05-27 18:41 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Qi Zheng @ 2020-05-24 15:26 UTC (permalink / raw)
To: robh+dt, robh, frowand.list; +Cc: devicetree, linux-kernel, Qi Zheng
The code is using of_dev_lookup() rather than of_devname_lookup().
Signed-off-by: Qi Zheng <arch0.zheng@gmail.com>
---
drivers/of/platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index 3371e4a06248..3627fee60215 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -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)
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt/platform: Fix comment in of_dev_lookup()
2020-05-24 15:26 [PATCH] dt/platform: Fix comment in of_dev_lookup() Qi Zheng
@ 2020-05-27 18:41 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2020-05-27 18:41 UTC (permalink / raw)
To: Qi Zheng; +Cc: devicetree, frowand.list, robh+dt, linux-kernel
On Sun, 24 May 2020 23:26:14 +0800, Qi Zheng wrote:
> The code is using of_dev_lookup() rather than of_devname_lookup().
>
> Signed-off-by: Qi Zheng <arch0.zheng@gmail.com>
> ---
> drivers/of/platform.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-27 18:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-24 15:26 [PATCH] dt/platform: Fix comment in of_dev_lookup() Qi Zheng
2020-05-27 18:41 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).