aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/stmpe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/stmpe.c')
-rw-r--r--drivers/mfd/stmpe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c
index bbccd514d3ec..5d5e6f90424a 100644
--- a/drivers/mfd/stmpe.c
+++ b/drivers/mfd/stmpe.c
@@ -1208,8 +1208,7 @@ int stmpe_probe(struct stmpe_client_info *ci, int partnum)
1208 } 1208 }
1209 stmpe->variant = stmpe_noirq_variant_info[stmpe->partnum]; 1209 stmpe->variant = stmpe_noirq_variant_info[stmpe->partnum];
1210 } else if (pdata->irq_trigger == IRQF_TRIGGER_NONE) { 1210 } else if (pdata->irq_trigger == IRQF_TRIGGER_NONE) {
1211 pdata->irq_trigger = 1211 pdata->irq_trigger = irq_get_trigger_type(stmpe->irq);
1212 irqd_get_trigger_type(irq_get_irq_data(stmpe->irq));
1213 } 1212 }
1214 1213
1215 ret = stmpe_chip_init(stmpe); 1214 ret = stmpe_chip_init(stmpe);