gpio: sprd: Remove unused irq trigger setting
authorBaolin Wang <baolin.wang@linaro.org>
Mon, 21 Jan 2019 05:05:39 +0000 (13:05 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 21 Jan 2019 12:47:12 +0000 (13:47 +0100)
The Spreadtrum PMIC interrupt controller has no registers to set irq
trigger type, since it is always high level trigger. That means the
PMIC EIC controller as a child device of PMIC INTC does not need to
set the trigger type, so remove it.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pmic-eic-sprd.c

index 29e044f..ac573da 100644 (file)
@@ -322,7 +322,6 @@ static int sprd_pmic_eic_probe(struct platform_device *pdev)
 
        ret = devm_request_threaded_irq(&pdev->dev, pmic_eic->irq, NULL,
                                        sprd_pmic_eic_irq_handler,
-                                       IRQF_TRIGGER_LOW |
                                        IRQF_ONESHOT | IRQF_NO_SUSPEND,
                                        dev_name(&pdev->dev), pmic_eic);
        if (ret) {