diff options
Diffstat (limited to 'drivers/mfd/rc5t583-irq.c')
-rw-r--r-- | drivers/mfd/rc5t583-irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/rc5t583-irq.c b/drivers/mfd/rc5t583-irq.c index fe00cdd6f83d..b41db5968706 100644 --- a/drivers/mfd/rc5t583-irq.c +++ b/drivers/mfd/rc5t583-irq.c | |||
@@ -345,7 +345,7 @@ int rc5t583_irq_init(struct rc5t583 *rc5t583, int irq, int irq_base) | |||
345 | mutex_init(&rc5t583->irq_lock); | 345 | mutex_init(&rc5t583->irq_lock); |
346 | 346 | ||
347 | /* Initailize all int register to 0 */ | 347 | /* Initailize all int register to 0 */ |
348 | for (i = 0; i < RC5T583_MAX_INTERRUPT_MASK_REGS; i++) { | 348 | for (i = 0; i < RC5T583_MAX_INTERRUPT_EN_REGS; i++) { |
349 | ret = rc5t583_write(rc5t583->dev, irq_en_add[i], | 349 | ret = rc5t583_write(rc5t583->dev, irq_en_add[i], |
350 | rc5t583->irq_en_reg[i]); | 350 | rc5t583->irq_en_reg[i]); |
351 | if (ret < 0) | 351 | if (ret < 0) |