diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2019-01-21 08:05:39 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-01-21 15:47:12 +0300 |
commit | a3f1caeefed0731e64bef39859482e6c9de8f027 (patch) | |
tree | 7e266a3e0ccf9329a9d20f8b6505f30bb6568b5b | |
parent | e4889362e0389e95970d28707599aa8e08c35b51 (diff) | |
download | linux-a3f1caeefed0731e64bef39859482e6c9de8f027.tar.xz |
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>
-rw-r--r-- | drivers/gpio/gpio-pmic-eic-sprd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pmic-eic-sprd.c b/drivers/gpio/gpio-pmic-eic-sprd.c index 29e044ff4b17..ac573da040bb 100644 --- a/drivers/gpio/gpio-pmic-eic-sprd.c +++ b/drivers/gpio/gpio-pmic-eic-sprd.c @@ -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) { |