]> 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)
commit5761c1365cc938a5df93c6a45aecacb4ff14ae93
tree9d2a42607410cd91388d6ac6511bf92a9651eca0
parent2d3df483c708baf69fe6cba040a8bfcff970d396
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