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

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