From: Stephen Warren Date: Wed, 14 Aug 2013 21:27:11 +0000 (-0600) Subject: of: call __of_parse_phandle_with_args from of_parse_phandle X-Git-Tag: v3.12-rc1~67^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91d9942c28ee691dab47185f38b052f84db4e0f7;p=pandora-kernel.git 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 Acked-by: Mark Rutland Signed-off-by: Grant Likely --- Reading git-diff-tree failed