dm: Fix parameter description of dev_read_name()
authorBin Meng <bmeng.cn@gmail.com>
Fri, 5 Jul 2019 16:23:18 +0000 (09:23 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:54:08 +0000 (12:54 -0700)
The comments of dev_read_name() wrongly describe "node" as its
parameter.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/dm/read.h

index 62d4be603827909dc6b02f9841a36739ce9957b2..6ecd062e200cfaf6d5d823a0bcfa8a5420cdbe9b 100644 (file)
@@ -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);