From: Qi Zheng Date: Sun, 24 May 2020 15:26:14 +0000 (+0800) Subject: dt/platform: Fix comment in of_dev_lookup() X-Git-Tag: v5.8-rc1~136^2~75 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f9a529b9d6f15a065f2ccf5ec67180df431b0c6f;p=users%2Fhch%2Fmisc.git 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 Signed-off-by: Rob Herring --- 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)