diff options
-rw-r--r-- | drivers/gpio/gpio-tz1090.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tz1090.c b/drivers/gpio/gpio-tz1090.c index 5246a60eff6d..6107d0682fd6 100644 --- a/drivers/gpio/gpio-tz1090.c +++ b/drivers/gpio/gpio-tz1090.c | |||
@@ -446,7 +446,7 @@ static int tz1090_gpio_bank_probe(struct tz1090_gpio_bank_info *info) | |||
446 | bank->irq = irq_of_parse_and_map(np, 0); | 446 | bank->irq = irq_of_parse_and_map(np, 0); |
447 | 447 | ||
448 | /* The interrupt is optional (it may be used by another core on chip) */ | 448 | /* The interrupt is optional (it may be used by another core on chip) */ |
449 | if (bank->irq < 0) { | 449 | if (!bank->irq) { |
450 | dev_info(dev, "IRQ not provided for bank %u, IRQs disabled\n", | 450 | dev_info(dev, "IRQ not provided for bank %u, IRQs disabled\n", |
451 | info->index); | 451 | info->index); |
452 | return 0; | 452 | return 0; |