diff options
author | Rob Herring <robh@kernel.org> | 2015-07-12 09:26:45 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-08-13 00:48:52 -0700 |
commit | ed293d1ad2b0c28b6abc3bd728b07754bc00f1cd (patch) | |
tree | 235ffe935074922169d0dbd863497ba1c1dcc1ef /usr | |
parent | 9610c8abd2d278a957b1b586390b8c928980e79b (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 <robh@kernel.org>
Acked-by: Roger Quadros <rogerq@ti.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions