mISDN: fix error return in HFCmulti_init()
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 16 Nov 2009 05:18:13 +0000 (21:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2009 05:18:13 +0000 (21:18 -0800)
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>
drivers/isdn/hardware/mISDN/hfcmulti.c

index faed794cf75afcf50b8312395b5a01e7b5174a8d..a6624ad252c54a2f535e8e710b214d904ba5b731 100644 (file)
@@ -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);