Rob Herring b64aa11eb2 PCI: Set bridge map_irq and swizzle_irq to default functions
The majority of DT based host drivers use the default .map_irq() and
.swizzle_irq() functions, so let's initialize the function pointers to
the default and drop setting them in the host drivers.

Drivers like iProc which don't support legacy interrupts need to set
.map_irq() back to NULL.

Link: https://lore.kernel.org/r/20200722022514.1283916-20-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
2020-08-04 16:36:30 +01:00
..
2020-06-06 11:01:58 -07:00
2019-11-28 08:54:55 -06:00
2019-07-09 07:24:53 -05:00
2020-04-02 14:26:38 -05:00
2020-06-04 12:59:12 -05:00
2020-06-06 11:01:58 -07:00
2020-01-29 17:00:02 -06:00
2020-03-10 14:05:33 -05:00
2019-09-23 16:10:31 -05:00