diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-10-22 05:44:52 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-11-04 11:43:11 -0500 |
commit | d94a75c13331cc00675b09d56f1a910bd53b7dd4 (patch) | |
tree | 06e974465bbb357abba79c51f7b8c76a48a7a0b5 /drivers/of/base.c | |
parent | 8cccffc52694938fc88f3d90bc7fed8460e27191 (diff) |
of: Correct of_phandle_args node reference in comments
The device_node pointer in struct of_phandle_args is called "np", not
"node".
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c index 1f61a908a767..ea3c363ef085 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c | |||
@@ -1525,7 +1525,7 @@ EXPORT_SYMBOL(of_parse_phandle); | |||
1525 | * Returns 0 on success and fills out_args, on error returns appropriate | 1525 | * Returns 0 on success and fills out_args, on error returns appropriate |
1526 | * errno value. | 1526 | * errno value. |
1527 | * | 1527 | * |
1528 | * Caller is responsible to call of_node_put() on the returned out_args->node | 1528 | * Caller is responsible to call of_node_put() on the returned out_args->np |
1529 | * pointer. | 1529 | * pointer. |
1530 | * | 1530 | * |
1531 | * Example: | 1531 | * Example: |
@@ -1568,7 +1568,7 @@ EXPORT_SYMBOL(of_parse_phandle_with_args); | |||
1568 | * Returns 0 on success and fills out_args, on error returns appropriate | 1568 | * Returns 0 on success and fills out_args, on error returns appropriate |
1569 | * errno value. | 1569 | * errno value. |
1570 | * | 1570 | * |
1571 | * Caller is responsible to call of_node_put() on the returned out_args->node | 1571 | * Caller is responsible to call of_node_put() on the returned out_args->np |
1572 | * pointer. | 1572 | * pointer. |
1573 | * | 1573 | * |
1574 | * Example: | 1574 | * Example: |