gpio: pca953x: suppress interrupts warning when not applicable
authorBaruch Siach <baruch@tkos.co.il>
Thu, 21 Jun 2018 13:38:46 +0000 (16:38 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 2 Jul 2018 14:00:49 +0000 (16:00 +0200)
commit72b38caf7b7568ebc167fdd4ec5fa1daa113d08b
tree9c1e5f7de05a06d6be0c5df23f6116ebf55e0957
parent122d00f778b370124ec38bb59b2ac7622d0c6943
gpio: pca953x: suppress interrupts warning when not applicable

Don't warn about missing interrupts support when the parent interrupt is
not defined. Enabling interrupts support would not make it work anyway.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c