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

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/hfc_sx.c