Commit 5204e51d authored by Lee Jones's avatar Lee Jones Committed by Samuel Ortiz

mfd: Correct copy and paste mistake in stmpe

When specifying IRQ numbers for the stmpe1601, IRQ defines for the
stmpe24xx were used instead. Fortunately, the defined numbers are
the same, hence why it survived testing. This fix is merely an
aesthetic one.
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 76f93992
...@@ -519,12 +519,12 @@ static const u8 stmpe1601_regs[] = { ...@@ -519,12 +519,12 @@ static const u8 stmpe1601_regs[] = {
static struct stmpe_variant_block stmpe1601_blocks[] = { static struct stmpe_variant_block stmpe1601_blocks[] = {
{ {
.cell = &stmpe_gpio_cell, .cell = &stmpe_gpio_cell,
.irq = STMPE24XX_IRQ_GPIOC, .irq = STMPE1601_IRQ_GPIOC,
.block = STMPE_BLOCK_GPIO, .block = STMPE_BLOCK_GPIO,
}, },
{ {
.cell = &stmpe_keypad_cell, .cell = &stmpe_keypad_cell,
.irq = STMPE24XX_IRQ_KEYPAD, .irq = STMPE1601_IRQ_KEYPAD,
.block = STMPE_BLOCK_KEYPAD, .block = STMPE_BLOCK_KEYPAD,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment