summaryrefslogtreecommitdiff
path: root/drivers/of/base.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-10-22 11:44:53 +0200
committerGrant Likely <grant.likely@linaro.org>2014-11-04 16:43:12 +0000
commit1821dda4ae1f857f24094de88a5694e6fd9029e9 (patch)
treeddb25b4de2f449efa05f2e4051425bdf1fbbc39a /drivers/of/base.c
parentd94a75c13331cc00675b09d56f1a910bd53b7dd4 (diff)
of: Improve grammar for of_alias_scan() documentation
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of/base.c')
-rw-r--r--drivers/of/base.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c
index ea3c363ef085..3ab72f578344 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1814,14 +1814,14 @@ static void of_alias_add(struct alias_prop *ap, struct device_node *np,
}
/**
- * of_alias_scan - Scan all properties of 'aliases' node
+ * of_alias_scan - Scan all properties of the 'aliases' node
*
- * The function scans all the properties of 'aliases' node and populate
- * the the global lookup table with the properties. It returns the
- * number of alias_prop found, or error code in error case.
+ * The function scans all the properties of the 'aliases' node and populates
+ * the global lookup table with the properties. It returns the
+ * number of alias properties found, or an error code in case of failure.
*
* @dt_alloc: An allocator that provides a virtual address to memory
- * for the resulting tree
+ * for storing the resulting tree
*/
void of_alias_scan(void * (*dt_alloc)(u64 size, u64 align))
{