]> git.karo-electronics.de Git - karo-tx-linux.git/commit
of: release node fix for of_parse_phandle_with_args
authorDong Aisheng <dong.aisheng@linaro.org>
Fri, 25 May 2012 13:36:17 +0000 (21:36 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 26 May 2012 00:09:14 +0000 (18:09 -0600)
commit4e8383b6b06b275999f51337adf7064b2c135a04
tree6716df922fcf938be8d973c5ffdf4293089eb00a
parent07acfc2a9349a8ce45b236c2624dad452001966b
of: release node fix for of_parse_phandle_with_args

Since this API requires user to call of_node_put for the node
it returned via outargs, if no outargs provided, user have no
chance to release it, so release it internally if no outargs
provided.

Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/base.c