summaryrefslogtreecommitdiffstats
path: root/drivers/of/address.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-11-24 14:10:26 +0100
committerRob Herring <robh@kernel.org>2015-12-09 22:30:57 +0100
commit264041e3796133003f010303629a249f9caa3275 (patch)
treebab7ea1e9572cc8cc0fccc226503bd653b740421 /drivers/of/address.c
parentdt-bindings: tda998x: Document the required 'port' node. (diff)
downloadlinux-264041e3796133003f010303629a249f9caa3275.tar.xz
linux-264041e3796133003f010303629a249f9caa3275.zip
of/irq: optimize device node matching loop in of_irq_init()
Currently, of_irq_init() iterates over interrupt controller nodes with for_each_matching_node(), and then gets each init function with of_match_node() later. This routine can be optimized with for_each_matching_node_and_match(). It allows to get the interrupt controller node and its init function at the same time, saving __of_match_node() callings. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/address.c')
0 files changed, 0 insertions, 0 deletions