From: Josh Cartwright Date: Tue, 11 Feb 2014 16:24:02 +0000 (-0600) Subject: ARM: mvebu: make use of of_find_matching_node_and_match X-Git-Tag: v3.15-rc1~80^2~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8cacc0a45f7d81e6ff1cfe92d38372c0718df9b;p=pandora-kernel.git ARM: mvebu: make use of of_find_matching_node_and_match Instead of the of_find_matching_node()/of_match_node() pair, which requires two iterations through the match table, make use of of_find_matching_node_and_match(), which only iterates through the table once. While we're here, mark the of_system_controller table const. Signed-off-by: Josh Cartwright Reviewed-by: Thomas Petazzoni Acked-by: Gregory CLEMENT Signed-off-by: Jason Cooper --- Reading git-diff-tree failed