mISDN: Fix return values of the probe function
authorZheyu Ma <zheyuma97@gmail.com>
Mon, 18 Oct 2021 14:20:38 +0000 (14:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Oct 2021 12:09:28 +0000 (13:09 +0100)
commite211210098cb7490db2183d725f5c0f10463a704
tree2b640213d549a6c105a8fd1707eed36e64d1d885
parent8a64ef042eab8a6cec04a6c79d44d1af79b628ca
mISDN: Fix return values of the probe function

During the process of driver probing, the probe function should return < 0
for failure, otherwise, the kernel will treat value > 0 as success.

Signed-off-by: Zheyu Ma <zheyuma97@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hardware/mISDN/hfcpci.c