diff options
author | Rob Herring <[email protected]> | 2015-07-27 15:55:21 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2015-08-11 15:17:43 -0500 |
commit | 3e14675335a15e1a91573837a15ff3bbb50bc14f (patch) | |
tree | 25be8f3a0eee2a3d4de09bf29d558abafa0c1faf /scripts/gdb/linux/modules.py | |
parent | 5f2269916b0e509f2926346b58209abfa8316143 (diff) |
PCI: Kill off set_irq_flags() usage
set_irq_flags is ARM-specific with custom flags which have genirq
equivalents. Convert drivers to use the genirq interfaces directly, so we
can kill off set_irq_flags. The translation of flags is as follows:
IRQF_VALID -> !IRQ_NOREQUEST
IRQF_PROBE -> !IRQ_NOPROBE
IRQF_NOAUTOEN -> IRQ_NOAUTOEN
For IRQs managed by an irqdomain, the irqdomain core code handles clearing
and setting IRQ_NOREQUEST already, so there is no need to do this in .map()
functions, and we can simply remove the set_irq_flags calls. Some users
also modify IRQ_NOPROBE, and this has been maintained although it is not
clear that is really needed. There appears to be a great deal of blind
copy and paste of this code.
Signed-off-by: Rob Herring <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Jingoo Han <[email protected]>
CC: Kishon Vijay Abraham I <[email protected]>
CC: Murali Karicheri <[email protected]>
CC: Thierry Reding <[email protected]>
CC: Stephen Warren <[email protected]>
CC: Alexandre Courbot <[email protected]>
CC: Jingoo Han <[email protected]>
CC: Pratyush Anand <[email protected]>
CC: Simon Horman <[email protected]>
CC: Michal Simek <[email protected]>
CC: "Sören Brinkmann" <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions