]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bus: mvebu-mbus: make use of of_find_matching_node_and_match
authorJosh Cartwright <joshc@codeaurora.org>
Tue, 11 Feb 2014 16:24:00 +0000 (10:24 -0600)
committerJason Cooper <jason@lakedaemon.net>
Tue, 11 Feb 2014 19:14:42 +0000 (19:14 +0000)
commit087a4ab272780f52f6ea24b1c0e2e8dd3a220e15
treec6bed335cc0c70d0c58fa7ac74dfd812c6aef863
parent38dbfb59d1175ef458d006556061adeaa8751b72
bus: mvebu-mbus: 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.

Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/bus/mvebu-mbus.c