Skip to content

Commit a3f1cae

Browse files
wangbaolin719linusw
authored andcommitted
gpio: sprd: Remove unused irq trigger setting
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>
1 parent e488936 commit a3f1cae

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpio/gpio-pmic-eic-sprd.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ static int sprd_pmic_eic_probe(struct platform_device *pdev)
322322

323323
ret = devm_request_threaded_irq(&pdev->dev, pmic_eic->irq, NULL,
324324
sprd_pmic_eic_irq_handler,
325-
IRQF_TRIGGER_LOW |
326325
IRQF_ONESHOT | IRQF_NO_SUSPEND,
327326
dev_name(&pdev->dev), pmic_eic);
328327
if (ret) {

0 commit comments

Comments
 (0)