projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PTR_RET is now PTR_ERR_OR_ZERO(): Replace most.
[cascardo/linux.git]
/
drivers
/
net
/
appletalk
/
cops.c
diff --git
a/drivers/net/appletalk/cops.c
b/drivers/net/appletalk/cops.c
index
cff6f02
..
7f2a032
100644
(file)
--- a/
drivers/net/appletalk/cops.c
+++ b/
drivers/net/appletalk/cops.c
@@
-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)