linux_old1/drivers/clk/at91
Rob Herring 00f3ec37d2 clk: 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: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: Mike Turquette <mturquette@baylibre.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-clk@vger.kernel.org
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2015-07-28 11:59:41 -07:00
..
Makefile clk: at91: add a driver for the h32mx clock 2014-09-22 11:38:59 +02:00
clk-h32mx.c clk: at91: do not leak resources 2015-07-02 09:51:50 -07:00
clk-main.c clk: at91: make use of of_clk_parent_fill helper function 2015-07-28 11:58:59 -07:00
clk-master.c clk: at91: make use of of_clk_parent_fill helper function 2015-07-28 11:58:59 -07:00
clk-peripheral.c clk: at91: fix PERIPHERAL_MAX_SHIFT definition 2015-06-19 14:43:40 +02:00
clk-pll.c Merge branch 'clk-fixes' into clk-next 2015-07-06 15:54:58 -07:00
clk-plldiv.c clk: at91: add PMC pll clocks 2013-12-02 15:31:22 +01:00
clk-programmable.c clk: at91: make use of of_clk_parent_fill helper function 2015-07-28 11:58:59 -07:00
clk-slow.c Merge branch 'cleanup-clk-h-includes' into clk-next 2015-07-28 11:59:09 -07:00
clk-smd.c clk: at91: make use of of_clk_parent_fill helper function 2015-07-28 11:58:59 -07:00
clk-system.c clk: at91: do not leak resources 2015-07-02 09:51:50 -07:00
clk-usb.c clk: at91: make use of of_clk_parent_fill helper function 2015-07-28 11:58:59 -07:00
clk-utmi.c clk: at91: do not leak resources 2015-07-02 09:51:50 -07:00
pmc.c clk: kill off set_irq_flags usage 2015-07-28 11:59:41 -07:00
pmc.h clk: at91: Silence warnings and cleanup __init/extern usage 2015-07-07 17:19:31 -07:00
sckc.c clk: at91: add slow clks driver 2014-05-07 18:27:45 +02:00
sckc.h clk: at91: add slow clks driver 2014-05-07 18:27:45 +02:00