summaryrefslogtreecommitdiff
path: root/include/dm/read.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2019-07-05 09:23:18 -0700
committerSimon Glass <sjg@chromium.org>2019-07-24 12:54:08 -0700
commit15d61d04b47806d6dbb91ddf5dc32798c02f4857 (patch)
treed27499136dcc4f236b41f1d30c98493f87c45f85 /include/dm/read.h
parent163512122e9833a58d430230a9a3df44eb7f8058 (diff)
dm: Fix parameter description of dev_read_name()
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>
Diffstat (limited to 'include/dm/read.h')
-rw-r--r--include/dm/read.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/read.h b/include/dm/read.h
index 62d4be6038..6ecd062e20 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);