Messages in this thread Patch in this message | | | From | Geert Uytterhoeven <> | Subject | [PATCH 1/4] of: Correct of_phandle_args node reference in comments | Date | Wed, 22 Oct 2014 11:44:52 +0200 |
| |
The device_node pointer in struct of_phandle_args is called "np", not "node".
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- drivers/of/base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c index 2305dc0382bca0a5..e3f9043860c81b5d 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -1560,7 +1560,7 @@ EXPORT_SYMBOL(of_parse_phandle); * Returns 0 on success and fills out_args, on error returns appropriate * errno value. * - * Caller is responsible to call of_node_put() on the returned out_args->node + * Caller is responsible to call of_node_put() on the returned out_args->np * pointer. * * Example: @@ -1603,7 +1603,7 @@ EXPORT_SYMBOL(of_parse_phandle_with_args); * Returns 0 on success and fills out_args, on error returns appropriate * errno value. * - * Caller is responsible to call of_node_put() on the returned out_args->node + * Caller is responsible to call of_node_put() on the returned out_args->np * pointer. * * Example: -- 1.9.1
| |