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>
This commit is contained in:
parent
d94a75c133
commit
1821dda4ae
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue