From: Bin Meng Date: Fri, 5 Jul 2019 16:23:18 +0000 (-0700) Subject: dm: Fix parameter description of dev_read_name() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=15d61d04b47806d6dbb91ddf5dc32798c02f4857;p=u-boot.git 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 Reviewed-by: Simon Glass --- 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);