summaryrefslogtreecommitdiff
path: root/drivers/of/address.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-11-24 16:10:26 +0300
committerRob Herring <robh@kernel.org>2015-12-10 00:30:57 +0300
commit264041e3796133003f010303629a249f9caa3275 (patch)
treebab7ea1e9572cc8cc0fccc226503bd653b740421 /drivers/of/address.c
parente9e5f6365073b5f717172834986df8e2ec5a80b4 (diff)
downloadlinux-264041e3796133003f010303629a249f9caa3275.tar.xz
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