mfd: Kill off set_irq_flags usage
[cascardo/linux.git] / drivers / mfd / max8998-irq.c
index 3702056..35a0774 100644 (file)
@@ -206,11 +206,8 @@ static int max8998_irq_domain_map(struct irq_domain *d, unsigned int irq,
        irq_set_chip_data(irq, max8998);
        irq_set_chip_and_handler(irq, &max8998_irq_chip, handle_edge_irq);
        irq_set_nested_thread(irq, 1);
-#ifdef CONFIG_ARM
-       set_irq_flags(irq, IRQF_VALID);
-#else
        irq_set_noprobe(irq);
-#endif
+
        return 0;
 }