linux/drivers/sh/intc
Rob Herring 3e15135b98 sh: 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 <robh@kernel.org>
Acked-by: Simon Horman <horms@verge.net.au>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-sh@vger.kernel.org
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Magnus Damm <magnus.damm@gmail.com>
Link: http://lkml.kernel.org/r/1440889285-5637-4-git-send-email-robh@kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2015-09-16 16:53:39 +02:00
..
Kconfig sh: intc: Confine SH_INTC to platforms that need it 2014-08-22 12:28:16 +09:00
Makefile sh: intc: initial irqdomain support. 2012-08-01 17:13:46 +09:00
access.c sh: Fix up more fallout from pointless ARM __iomem churn. 2012-10-15 14:08:48 +09:00
balancing.c sh: intc: remove dependency on NR_IRQS 2012-01-25 20:37:48 -06:00
chip.c sh/irq: Use access helper irq_data_get_affinity_mask() 2015-07-29 10:08:08 +02:00
core.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
handle.c SuperH updates for 3.4 merge window 2012-03-30 00:09:17 -07:00
internals.h sh: Kill off set_irq_flags usage 2015-09-16 16:53:39 +02:00
irqdomain.c sh: intc: initial irqdomain support. 2012-08-01 17:13:46 +09:00
userimask.c sh: intc - convert sysdev_class to a regular subsystem 2011-12-21 15:09:52 -08:00
virq-debugfs.c sh: intc: Split up the INTC code. 2010-10-05 22:10:30 +09:00
virq.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00