[U-Boot] [PATCH 4/4] dm: Fix parameter description of dev_read_name()

Bin Meng bmeng.cn at gmail.com
Fri Jul 5 16:23:18 UTC 2019


The comments of dev_read_name() wrongly describe "node" as its
parameter.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 include/dm/read.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/dm/read.h b/include/dm/read.h
index 60b727c..ddb05d1 100644
--- a/include/dm/read.h
+++ b/include/dm/read.h
@@ -227,7 +227,7 @@ fdt_addr_t dev_read_addr_size(struct udevice *dev, const char *propname,
 /**
  * dev_read_name() - get the name of a device's node
  *
- * @node: valid node to look up
+ * @dev: Device to read from
  * @return name of node
  */
 const char *dev_read_name(struct udevice *dev);
-- 
2.7.4



More information about the U-Boot mailing list