]> www.infradead.org Git - users/hch/misc.git/commitdiff
dt/platform: Fix comment in of_dev_lookup()
authorQi Zheng <arch0.zheng@gmail.com>
Sun, 24 May 2020 15:26:14 +0000 (23:26 +0800)
committerRob Herring <robh@kernel.org>
Thu, 28 May 2020 01:30:26 +0000 (19:30 -0600)
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>
drivers/of/platform.c

index 3371e4a0624838516a7ae6bbb62862fd17eed711..3627fee60215587619a1e9d7bdef57549703705d 100644 (file)
@@ -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)