diff options
Diffstat (limited to 'drivers/mfd/stmpe.c')
-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) | |||
953 | else | 953 | else |
954 | icr |= STMPE_ICR_LSB_HIGH; | 954 | icr |= STMPE_ICR_LSB_HIGH; |
955 | } | 955 | } |
956 | |||
957 | if (stmpe->pdata->irq_invert_polarity) { | ||
958 | if (id == STMPE801_ID) | ||
959 | icr ^= STMPE801_REG_SYS_CTRL_INT_HI; | ||
960 | else | ||
961 | icr ^= STMPE_ICR_LSB_HIGH; | ||
962 | } | ||
963 | } | 956 | } |
964 | 957 | ||
965 | if (stmpe->pdata->autosleep) { | 958 | if (stmpe->pdata->autosleep) { |