aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2015-07-12 09:26:45 -0500
committerTony Lindgren <[email protected]>2015-08-13 00:48:52 -0700
commited293d1ad2b0c28b6abc3bd728b07754bc00f1cd (patch)
tree235ffe935074922169d0dbd863497ba1c1dcc1ef /lib/memory-notifier-error-inject.c
parent9610c8abd2d278a957b1b586390b8c928980e79b (diff)
memory: 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 set 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]> Acked-by: Roger Quadros <[email protected]> Cc: [email protected] Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions