diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-10-22 11:44:53 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-11-04 16:43:12 +0000 |
commit | 1821dda4ae1f857f24094de88a5694e6fd9029e9 (patch) | |
tree | ddb25b4de2f449efa05f2e4051425bdf1fbbc39a /drivers/of/base.c | |
parent | d94a75c13331cc00675b09d56f1a910bd53b7dd4 (diff) | |
download | linux-stable-1821dda4ae1f857f24094de88a5694e6fd9029e9.tar.gz linux-stable-1821dda4ae1f857f24094de88a5694e6fd9029e9.tar.bz2 linux-stable-1821dda4ae1f857f24094de88a5694e6fd9029e9.zip |
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.c | 10 |
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)) { |