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>
This commit is contained in:
parent
655a6595af
commit
2c554e10e8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue