]> git.baikalelectronics.ru Git - kernel.git/commit
of/base: Clean up exit paths for of_parse_phandle_with_args()
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 12 Feb 2013 21:21:49 +0000 (21:21 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 13 Feb 2013 10:05:58 +0000 (10:05 +0000)
commit8df8a7aee7727835f6ab7af1fe9a292752a95b2b
tree9d2a42607410cd91388d6ac6511bf92a9651eca0
parent082398a6764cc2374e87a76a4183074aa8f04918
of/base: Clean up exit paths for of_parse_phandle_with_args()

Some of the exit paths were not correctly releasing the node. Fix it by
creating an 'err' label for collecting the error paths and releasing the
node.

Cc: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/base.c