]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/mfd/wm8350-irq.c
mfd: Kill off set_irq_flags usage
[mirror_ubuntu-bionic-kernel.git] / drivers / mfd / wm8350-irq.c
index 813ff50f95b699a3ee7784f3f12374f24efbca6c..27054f357b8e565c2afa07cb6845465c61cef944 100644 (file)
@@ -526,13 +526,7 @@ int wm8350_irq_init(struct wm8350 *wm8350, int irq,
                                         handle_edge_irq);
                irq_set_nested_thread(cur_irq, 1);
 
-               /* ARM needs us to explicitly flag the IRQ as valid
-                * and will set them noprobe when we do so. */
-#ifdef CONFIG_ARM
-               set_irq_flags(cur_irq, IRQF_VALID);
-#else
-               irq_set_noprobe(cur_irq);
-#endif
+               irq_clear_status_flags(cur_irq, IRQ_NOREQUEST | IRQ_NOPROBE);
        }
 
        ret = request_threaded_irq(irq, NULL, wm8350_irq, flags,