diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2012-11-29 00:17:15 +0530 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-11-30 11:54:51 +0100 |
commit | 12a5105e04143569b3e9e5ef03cf9cad8862473a (patch) | |
tree | 5b7d525f7e26789c07e166f4e50b9a4dbac650b8 /drivers/mfd | |
parent | 4e1328be4d4e4967d54bf7ae3b0805ec53fc4f91 (diff) | |
download | linux-12a5105e04143569b3e9e5ef03cf9cad8862473a.tar.gz linux-12a5105e04143569b3e9e5ef03cf9cad8862473a.tar.bz2 linux-12a5105e04143569b3e9e5ef03cf9cad8862473a.zip |
mfd: stmpe: Get rid of irq_invert_polarity
Since the very first patch, stmpe core driver is using irq_invert_polarity as
part of platform data. But, nobody is actually using it in kernel till now.
Also, this is not something part of hardware specs, but is included to cater
some board mistakes or quirks.
So, better get rid of it. This is earlier discussed here:
https://lkml.org/lkml/2012/11/27/636
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/stmpe.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c index f9f7de796029..90c6151bc52e 100644 --- a/drivers/mfd/stmpe.c +++ b/drivers/mfd/stmpe.c @@ -953,13 +953,6 @@ static int __devinit stmpe_chip_init(struct stmpe *stmpe) else icr |= STMPE_ICR_LSB_HIGH; } - - if (stmpe->pdata->irq_invert_polarity) { - if (id == STMPE801_ID) - icr ^= STMPE801_REG_SYS_CTRL_INT_HI; - else - icr ^= STMPE_ICR_LSB_HIGH; - } } if (stmpe->pdata->autosleep) { |