]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
gpio:smp2p:qcom: kill set_irq_flags and use genirq
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 24 Sep 2015 18:01:47 +0000 (19:01 +0100)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:55:13 +0000 (09:55 +0000)
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
drivers/gpio/gpio-qcom-smp2p.c

index ad5daa9bfa46538d8491a89b03b1d33f27182182..6e4d09a40c4a9ad63b0325859d045843d1a71d49 100644 (file)
@@ -291,11 +291,7 @@ static int smp2p_irq_map(struct irq_domain *d,
        irq_set_chip_data(irq, entry);
        irq_set_nested_thread(irq, 1);
 
-#if defined(CONFIG_ARM64) || defined(CONFIG_ARM)
-       set_irq_flags(irq, IRQF_VALID);
-#else
-       irq_set_noprobe(virq);
-#endif
+       irq_set_noprobe(irq);
 
        return 0;
 }