On Sun, Jul 12, 2015 at 09:26:39AM -0500, Rob Herring wrote: > 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 <r...@kernel.org> > Cc: Russell King <li...@arm.linux.org.uk> > Cc: Sekhar Nori <nsek...@ti.com> > Cc: Kevin Hilman <khil...@deeprootsystems.com> > Cc: Jason Cooper <ja...@lakedaemon.net> > Cc: Andrew Lunn <and...@lunn.ch> > Cc: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com> > Cc: Gregory Clement <gregory.clem...@free-electrons.com> > Acked-by: Hans Ulli Kroll <ulli.kr...@googlemail.com> > Cc: Shawn Guo <shawn....@linaro.org> > Cc: Sascha Hauer <ker...@pengutronix.de> > Cc: Imre Kaloz <ka...@openwrt.org> > Acked-by: Krzysztof Halasa <khal...@piap.pl> > Cc: Greg Ungerer <g...@uclinux.org> > Cc: Roland Stigge <sti...@antcom.de> > Cc: Tony Lindgren <t...@atomide.com> > Cc: Daniel Mack <dan...@zonque.org> > Cc: Haojian Zhuang <haojian.zhu...@gmail.com> > Cc: Robert Jarzmik <robert.jarz...@free.fr> > Cc: Simtec Linux Team <li...@simtec.co.uk> > Cc: Kukjin Kim <kg...@kernel.org> > Cc: Krzysztof Kozlowski <k.kozlow...@samsung.com> > Acked-by: Wan ZongShun <mcuos....@gmail.com> > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-o...@vger.kernel.org > Cc: linux-samsung-...@vger.kernel.org > Tested-by: Kevin Hilman <khil...@linaro.org> > --- ... > arch/arm/mach-imx/3ds_debugboard.c | 2 +- > arch/arm/mach-imx/mach-mx31ads.c | 2 +-
Acked-by: Shawn Guo <shawn...@kernel.org> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/