of: Improve grammar for of_alias_scan() documentation
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 22 Oct 2014 09:44:53 +0000 (11:44 +0200)
committerGrant Likely <grant.likely@linaro.org>
Tue, 4 Nov 2014 16:43:12 +0000 (16:43 +0000)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/base.c

index ea3c363ef0850bf48ed22fa7ce879e9a6bfd1346..3ab72f578344312ae03102669c62495195f58d41 100644 (file)
@@ -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))
 {
This page took 0.02621 seconds and 5 git commands to generate.