linux/arch/arm
Rob Herring e8d36d5dbb ARM: 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>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Acked-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Imre Kaloz <kaloz@openwrt.org>
Acked-by: Krzysztof Halasa <khalasa@piap.pl>
Cc: Greg Ungerer <gerg@uclinux.org>
Cc: Roland Stigge <stigge@antcom.de>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Daniel Mack <daniel@zonque.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Simtec Linux Team <linux@simtec.co.uk>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Wan ZongShun <mcuos.com@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-omap@vger.kernel.org
Cc: linux-samsung-soc@vger.kernel.org
Tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
2015-07-28 13:58:13 +02:00
..
boot Renesas ARM Based SoC Cleanup for v4.3 2015-07-14 11:48:48 +02:00
common ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
configs Renesas ARM Based SoC Cleanup for v4.3 2015-07-14 11:48:48 +02:00
crypto
firmware
include Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm 2015-07-07 15:19:09 -07:00
kernel ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
kvm Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm 2015-06-26 12:20:00 -07:00
lib ARM: avoid unwanted GCC memset()/memcpy() optimisations for IO variants 2015-07-03 20:46:15 +01:00
mach-alpine
mach-asm9260
mach-at91 ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-axxia
mach-bcm ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-berlin ARM: SoC: driver updates for v4.2 2015-06-26 11:54:29 -07:00
mach-clps711x ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-cns3xxx ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-davinci ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-digicolor ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-dove ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-ebsa110 ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-efm32
mach-ep93xx ARM: ep93xx: simone: enable DMA on the SPI host 2015-07-17 11:50:23 +02:00
mach-exynos The changes to the common clock framework for 4.2 are dominated by new 2015-07-01 19:22:00 -07:00
mach-footbridge ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-gemini ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-highbank
mach-hisi arm/mach-hisi: remove legacy __CPUINIT section that crept in 2015-06-16 14:12:21 -04:00
mach-imx ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-integrator
mach-iop13xx ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-iop32x ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-iop33x ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-ixp4xx ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-keystone Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm 2015-06-26 12:20:00 -07:00
mach-ks8695 ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-lpc18xx
mach-lpc32xx ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-mediatek
mach-meson
mach-mmp ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-moxart
mach-mv78xx0
mach-mvebu ARM: mvebu: add missing newline at end of messages 2015-07-09 14:17:22 +02:00
mach-mxs ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-netx ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-nomadik
mach-nspire
mach-omap1 ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-omap2 ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-orion5x ARM: orion5x: Use vsprintf %pM extension 2015-07-09 14:17:22 +02:00
mach-picoxcell
mach-prima2 move CSR rtc iobrg read/write API to be regmap 2015-07-08 14:20:12 -07:00
mach-pxa ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-qcom
mach-realview ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-rockchip Remove __cpuinit macros and users. 2015-07-02 09:54:14 -07:00
mach-rpc ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-s3c24xx ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-s3c64xx ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-s5pv210
mach-sa1100 ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-shmobile ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-socfpga genalloc: rename dev_get_gen_pool() to gen_pool_get() 2015-06-30 19:45:01 -07:00
mach-spear ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-sti ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-stm32
mach-sunxi Allwinner late changes for 4.2 2015-07-09 15:08:44 -07:00
mach-tegra ARM: SoC: platform support for v4.2 2015-06-26 11:34:35 -07:00
mach-u300
mach-uniphier
mach-ux500
mach-versatile
mach-vexpress arm: don't use module_init in non-modular mach-vexpress/spc.c code 2015-06-16 14:12:29 -04:00
mach-vt8500
mach-w90x900 ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-zx ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mach-zynq ARM: SoC: platform support for v4.2 2015-06-26 11:34:35 -07:00
mm Merge branches 'fixes' and 'ioremap' into for-linus 2015-07-07 12:35:33 +01:00
net
nwfpe
oprofile
plat-iop ARM/iop/time: Migrate to new 'set-state' interface 2015-07-17 08:29:42 +05:30
plat-omap
plat-orion ARM/orion/time: Migrate to new 'set-state' interface 2015-07-17 08:29:44 +05:30
plat-pxa
plat-samsung ARM: SAMSUNG: Constify platform_device_id 2015-06-06 02:18:02 +09:00
plat-versatile
probes
tools
vdso Merge branches 'fixes' and 'ioremap' into for-linus 2015-07-07 12:35:33 +01:00
vfp
xen xen: Include xen/page.h rather than asm/xen/page.h 2015-06-17 16:14:18 +01:00
Kconfig EP93xx cleanup and completing developments. This switches 2015-07-17 10:20:46 -07:00
Kconfig-nommu
Kconfig.debug Merge branches 'fixes' and 'ioremap' into for-linus 2015-07-07 12:35:33 +01:00
Makefile Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm 2015-06-26 12:20:00 -07:00