summaryrefslogtreecommitdiff
path: root/drivers/isdn
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-11-16 08:18:13 +0300
committerDavid S. Miller <davem@davemloft.net>2009-11-16 08:18:13 +0300
commit2c554e10e84e958366344aa5bd293c6feea72d89 (patch)
treec72baaef0c5420a0d0eba894cb9b4ffbaa81eeed /drivers/isdn
parent655a6595af5cd7e91992bd768d7a5949f813dc0d (diff)
downloadlinux-2c554e10e84e958366344aa5bd293c6feea72d89.tar.xz
mISDN: fix error return in HFCmulti_init()
The returned error should stay negative Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Karsten Keil <keil@b1-systems.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/hardware/mISDN/hfcmulti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c
index faed794cf75a..a6624ad252c5 100644
--- a/drivers/isdn/hardware/mISDN/hfcmulti.c
+++ b/drivers/isdn/hardware/mISDN/hfcmulti.c
@@ -5481,7 +5481,7 @@ HFCmulti_init(void)
if (err) {
printk(KERN_ERR "error registering embedded driver: "
"%x\n", err);
- return -err;
+ return err;
}
HFC_cnt++;
printk(KERN_INFO "%d devices registered\n", HFC_cnt);