isdn: hisax: Fix pnp_irq's error checking for setup_elsa_isapnp
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 16 Nov 2017 04:27:21 +0000 (09:57 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Nov 2017 13:31:15 +0000 (22:31 +0900)
commit3cf631b5677e42e0c3a9f91cb1a92333397f747d
tree2392e205de536472432b1c3eb2adfe353b9b70d9
parente17aa09884f88663ba127ea0c0ff69a1b1a87d66
isdn: hisax: Fix pnp_irq's error checking for setup_elsa_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/elsa.c