]> Git Repo - linux.git/commit
powerpc/pci: Use of_irq_parse_and_map_pci() helper
authorRob Herring <[email protected]>
Thu, 4 Jan 2018 21:12:14 +0000 (15:12 -0600)
committerBjorn Helgaas <[email protected]>
Wed, 17 Jan 2018 23:54:37 +0000 (17:54 -0600)
commit59f47eff03a08cd2d91310f1c15a5343fa0071e5
tree84327d51aa8069184c16fbc02b436d20d1dff5c6
parent4670d610d59233b017a6ea1fa25bbf06dabbff42
powerpc/pci: Use of_irq_parse_and_map_pci() helper

Instead of calling both of_irq_parse_pci() and irq_create_of_mapping(),
call of_irq_parse_and_map_pci(), which does the same thing. This will allow
making of_irq_parse_pci() a private, static function.

This changes the logic slightly in that the fallback path will also be
taken if irq_create_of_mapping() fails internally.

Signed-off-by: Rob Herring <[email protected]>
[bhelgaas: fold in virq init from Stephen Rothwell <[email protected]>]
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Michael Ellerman <[email protected]>
arch/powerpc/kernel/pci-common.c
This page took 0.043033 seconds and 4 git commands to generate.