|
@@ -996,9 +996,7 @@ static int __init cops_module_init(void)
|
|
printk(KERN_WARNING "%s: You shouldn't autoprobe with insmod\n",
|
|
printk(KERN_WARNING "%s: You shouldn't autoprobe with insmod\n",
|
|
cardname);
|
|
cardname);
|
|
cops_dev = cops_probe(-1);
|
|
cops_dev = cops_probe(-1);
|
|
- if (IS_ERR(cops_dev))
|
|
|
|
- return PTR_ERR(cops_dev);
|
|
|
|
- return 0;
|
|
|
|
|
|
+ return PTR_RET(cops_dev);
|
|
}
|
|
}
|
|
|
|
|
|
static void __exit cops_module_exit(void)
|
|
static void __exit cops_module_exit(void)
|