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

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