diff options
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/asic3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c index 9d4a492e4295..383421bf5760 100644 --- a/drivers/mfd/asic3.c +++ b/drivers/mfd/asic3.c | |||
@@ -545,7 +545,7 @@ static int asic3_gpio_to_irq(struct gpio_chip *chip, unsigned offset) | |||
545 | { | 545 | { |
546 | struct asic3 *asic = container_of(chip, struct asic3, gpio); | 546 | struct asic3 *asic = container_of(chip, struct asic3, gpio); |
547 | 547 | ||
548 | return (offset < ASIC3_NUM_GPIOS) ? asic->irq_base + offset : -ENXIO; | 548 | return asic->irq_base + offset; |
549 | } | 549 | } |
550 | 550 | ||
551 | static __init int asic3_gpio_probe(struct platform_device *pdev, | 551 | static __init int asic3_gpio_probe(struct platform_device *pdev, |