]> git.baikalelectronics.ru Git - kernel.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)
commitfe232503307fb69fafeac04f03faa0056e3dbc9d
treec6bed335cc0c70d0c58fa7ac74dfd812c6aef863
parented4c0e42e851d5178cd0d1dc05de408325576e1c
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