diff options
author | Josh Cartwright <joshc@codeaurora.org> | 2014-02-11 20:24:02 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-02-11 23:24:29 +0400 |
commit | a8cacc0a45f7d81e6ff1cfe92d38372c0718df9b (patch) | |
tree | 2f146810574005df607d8957944dbb4d776ce119 /drivers | |
parent | fee04e7f0a6cc45e915b2df4bd3cf07af1a464ec (diff) | |
download | linux-a8cacc0a45f7d81e6ff1cfe92d38372c0718df9b.tar.xz |
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 <joshc@codeaurora.org>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions