summaryrefslogtreecommitdiffstats
path: root/firmware/myricom
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-08-14 15:27:11 -0600
committerGrant Likely <grant.likely@linaro.org>2013-08-29 21:40:23 +0100
commit91d9942c28ee691dab47185f38b052f84db4e0f7 (patch)
tree8274d1fc793593fe269028a9b7414e3e1d645305 /firmware/myricom
parent035fd9482274bf43858b00e0ff95179af66df8e8 (diff)
downloadblackbird-obmc-linux-91d9942c28ee691dab47185f38b052f84db4e0f7.tar.gz
blackbird-obmc-linux-91d9942c28ee691dab47185f38b052f84db4e0f7.zip
of: call __of_parse_phandle_with_args from of_parse_phandle
The simplest case of __of_parse_phandle_with_args() now implements the semantics of of_parse_phandle(). Rewrite of_parse_phandle() to call __of_parse_phandle_with_args() rather than open-coding the simple case. Optimize __of_parse_phandle_with_args() so that it doesn't call of_find_node_by_phandle() except when it's strictly needed. This avoids introducing too much overhead when replacing of_parse_phandle(). Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'firmware/myricom')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud