]> Pileus Git - ~andy/linux/blobdiff - drivers/net/appletalk/cops.c
PTR_RET is now PTR_ERR_OR_ZERO(): Replace most.
[~andy/linux] / drivers / net / appletalk / cops.c
index cff6f023c03a2c78e9869375f93b00c3201af802..7f2a032c354c2c210af55c23c72f6ec1fcd9b4ea 100644 (file)
@@ -996,7 +996,7 @@ static int __init cops_module_init(void)
                printk(KERN_WARNING "%s: You shouldn't autoprobe with insmod\n",
                        cardname);
        cops_dev = cops_probe(-1);
-       return PTR_RET(cops_dev);
+       return PTR_ERR_OR_ZERO(cops_dev);
 }
 
 static void __exit cops_module_exit(void)