diff options
author | Qi Zheng <arch0.zheng@gmail.com> | 2020-05-24 17:26:14 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-05-28 03:30:26 +0200 |
commit | f9a529b9d6f15a065f2ccf5ec67180df431b0c6f (patch) | |
tree | 1263bdfa114f7e286a412abfbd7d5298e8ee1137 /drivers/of | |
parent | of: Fix a refcounting bug in __of_attach_node_sysfs() (diff) | |
download | linux-f9a529b9d6f15a065f2ccf5ec67180df431b0c6f.tar.xz linux-f9a529b9d6f15a065f2ccf5ec67180df431b0c6f.zip |
dt/platform: Fix comment in of_dev_lookup()
The code is using of_dev_lookup() rather than of_devname_lookup().
Signed-off-by: Qi Zheng <arch0.zheng@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |