isdn: hisax: Fix pnp_irq's error checking for setup_sedlbauer_isapnp
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 16 Nov 2017 04:27:28 +0000 (09:57 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Nov 2017 13:31:16 +0000 (22:31 +0900)
commitd48cc29ae75fb492f87a650bb8054db222de5d4c
treed37e27a370504213dc092b32ec4a31d94d2b7a78
parent4bef0eb020943a7fcd031265f68d504214868de2
isdn: hisax: Fix pnp_irq's error checking for setup_sedlbauer_isapnp

The pnp_irq() function returns -1 if an error occurs.
pnp_irq() error checking for zero is not correct.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/sedlbauer.c