[PATCH] gpio-pcf857x: avoid an empty kernel message in case no irq is configured

2012-09-18 Thread Christian Engelmayer
Avoid a needless kernel message in case there is no client irq to be ignored. [2.856058] gpiochip_add: registered GPIOs 248 to 255 on device: pcf8574 [2.862830] pcf857x 1-0020: Signed-off-by: Christian Engelmayer --- --- a/drivers/gpio/gpio-pcf857x.c 2012-07-06

[PATCH] gpio-pcf857x: avoid an empty kernel message in case no irq is configured

2012-09-18 Thread Christian Engelmayer
Avoid a needless kernel message in case there is no client irq to be ignored. [2.856058] gpiochip_add: registered GPIOs 248 to 255 on device: pcf8574 [2.862830] pcf857x 1-0020: Signed-off-by: Christian Engelmayer christian.engelma...@frequentis.com --- ---