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

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