1
0
Fork 0
alistair23-linux/drivers/pinctrl
Rob Herring 9458120ea1 pinctrl: 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: Stephen Warren <swarren@wwwdotorg.org>
Cc: Lee Jones <lee@kernel.org>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Thomas Abraham <thomas.abraham@linaro.org>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: linux-gpio@vger.kernel.org
Cc: linux-rpi-kernel@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-07-28 12:15:19 +02:00
..
bcm pinctrl: kill off set_irq_flags usage 2015-07-28 12:15:19 +02:00
berlin ARM: SoC: driver updates for v4.2 2015-06-26 11:54:29 -07:00
freescale pinctrl: imx: add i.mx6ul subdriver 2015-07-16 09:39:02 +02:00
intel pinctrl: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc 2015-07-17 21:56:20 +02:00
mediatek pinctrl: kill off set_irq_flags usage 2015-07-28 12:15:19 +02:00
meson Here is the bulk of pin control changes for the v4.2 series: 2015-06-24 19:21:02 -07:00
mvebu Here is the bulk of pin control changes for the v4.2 series: 2015-06-24 19:21:02 -07:00
nomadik pinctrl: nomadik: depromote GPIO to subsystem_init() 2015-07-27 15:12:29 +02:00
qcom pinctrl/qcom/msm: Prepare msm_gpio_irq_handler for irq argument removal 2015-07-17 21:56:22 +02:00
samsung pinctrl: kill off set_irq_flags usage 2015-07-28 12:15:19 +02:00
sh-pfc pinctrl: sh-pfc: Remove obsolete r8a7740 platform_device_id entry 2015-07-16 11:40:10 +02:00
sirf pinctrl/sirf: Prepare xxx_gpio-handle_irq for irq argument removal 2015-07-17 21:56:22 +02:00
spear pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
sunxi pinctrl: sunxi: Add custom irq_domain_ops 2015-07-27 14:56:30 +02:00
uniphier pinctrl: UniPhier: add UniPhier PH1-LD6b pinctrl driver 2015-07-16 09:40:08 +02:00
vt8500 pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
Kconfig pinctrl: driver for Conexant Digicolor CX92755 pin mapping 2015-07-27 11:47:25 +02:00
Makefile pinctrl: driver for Conexant Digicolor CX92755 pin mapping 2015-07-27 11:47:25 +02:00
core.c pinctrl: use dev_err() to show message in pinctrl_register_one_pin() 2015-07-27 14:43:43 +02:00
core.h pinctrl: Don't just pretend to protect pinctrl_maps, do it for real 2015-05-06 16:24:28 +02:00
devicetree.c pinctrl: simplify of_pinctrl_get() 2015-07-16 09:39:03 +02:00
devicetree.h pinctrl: core device tree mapping table parsing support 2012-04-18 13:53:10 +02:00
pinconf-generic.c pinctrl: pinconf-generic: add dt node names to error messages 2015-03-27 09:53:10 +01:00
pinconf.c pinctrl: pinconf: pinconf_show_config() can be static 2015-07-17 21:56:23 +02:00
pinconf.h pinctrl: pinconf-generic: Allow driver to specify DT params 2015-01-11 22:32:19 +01:00
pinctrl-adi2-bf54x.c pinctrl: pinctrl-adi: combine multiple groups of one function together 2014-02-25 10:49:13 +01:00
pinctrl-adi2-bf60x.c added tabs instead of spaces 2015-07-16 09:39:01 +02:00
pinctrl-adi2.c pinctrl/adi2: Use irq_set_handler_locked() 2015-07-17 21:56:17 +02:00
pinctrl-adi2.h pinctrl: pinctrl-adi: combine multiple groups of one function together 2014-02-25 10:49:13 +01:00
pinctrl-amd.c pinctrl/amd: Prepare amd_gpio_irq_handler for irq argument removal 2015-07-17 21:56:20 +02:00
pinctrl-amd.h Fix inconsistent spinlock of AMD GPIO driver which can be 2015-04-07 11:36:49 +02:00
pinctrl-as3722.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-at91.c pinctrl: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc 2015-07-17 21:56:20 +02:00
pinctrl-at91.h pinctrl: at91: use own header 2014-10-29 09:28:35 +01:00
pinctrl-coh901.c pinctrl/coh901: Prepare u300_gpio_irq_handler for irq argument removal 2015-07-17 21:56:21 +02:00
pinctrl-coh901.h pinctrl: support pinconfig on the U300 2012-03-12 22:49:03 +01:00
pinctrl-digicolor.c pinctrl: driver for Conexant Digicolor CX92755 pin mapping 2015-07-27 11:47:25 +02:00
pinctrl-falcon.c staging: drivers: pinctrl: Fixed checkpatch.pl warnings 2015-01-21 11:02:26 +01:00
pinctrl-lantiq.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-lantiq.h pinctrl: lantiq: fix include guard #endif comment 2015-03-09 18:10:57 +01:00
pinctrl-lpc18xx.c pinctrl: lpc18xx: add support for usb1 pinconf 2015-07-17 14:23:15 +02:00
pinctrl-palmas.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-pistachio.c pinctrl/pistachio: Prepare pistachio_gpio_irq_handler for irq argument removal 2015-07-17 21:56:21 +02:00
pinctrl-rockchip.c pinctrl/rockchip: Prepare rockchip_irq_demux for irq argument removal 2015-07-17 21:56:21 +02:00
pinctrl-single.c pinctrl: kill off set_irq_flags usage 2015-07-28 12:15:19 +02:00
pinctrl-st.c pinctrl: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc 2015-07-17 21:56:20 +02:00
pinctrl-tb10x.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-tegra-xusb.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-tegra.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-tegra.h pinctrl: tegra: use signed bitfields for optional fields 2015-03-19 09:20:17 +01:00
pinctrl-tegra20.c pinctrl: tegra: some bits move between registers 2015-03-09 18:10:58 +01:00
pinctrl-tegra30.c pinctrl: tegra: some bits move between registers 2015-03-09 18:10:58 +01:00
pinctrl-tegra114.c pinctrl: tegra: some bits move between registers 2015-03-09 18:10:58 +01:00
pinctrl-tegra124.c pinctrl: tegra: some bits move between registers 2015-03-09 18:10:58 +01:00
pinctrl-tegra210.c pinctrl: tegra: add a driver for Tegra210 2015-03-09 18:10:59 +01:00
pinctrl-tz1090-pdc.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-tz1090.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-u300.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-utils.c pinctrl: utils: include export.h to avoid warnings 2013-08-28 15:50:33 +02:00
pinctrl-utils.h pinctrl: add utility functions for add map/configs 2013-08-14 21:00:41 +02:00
pinctrl-xway.c pinctrl: lantiq: remove bogus of_gpio_chip_add 2015-01-14 14:20:46 +01:00
pinctrl-zynq.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinmux.c pinctrl: use dev_err() to show message in pinmux_func_name_to_selector() 2015-07-27 14:44:33 +02:00
pinmux.h pinctrl: ifdef CONFIG_DEBUG_FS cleanup 2012-04-18 13:53:12 +02:00