From: Rob Herring Date: Mon, 12 May 2014 16:24:31 +0000 (-0500) Subject: clk: sunxi: avoid double DT matching X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~21^2~2^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb7d5f425fd1c5f2295770c3ee36c950a0b6714b;p=pandora-kernel.git clk: sunxi: avoid double DT matching Use for_each_matching_node_and_match instead of for_each_matching_node plus of_match_node to avoid searching the DT twice for each node. The sunxi DT scanning code should really be re-worked rather than have its own private matching infrastructure. It is working around needing a function pointer and a data pointer for each compatible match. Signed-off-by: Rob Herring Cc: "Emilio López" Acked-by: Mike Turquette Cc: Maxime Ripard --- Reading git-diff-tree failed