Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288240
b: refs/heads/master
c: 7ad1256
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Linus Torvalds committed Mar 5, 2012
1 parent 5c02ce5 commit 860d1bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6027ce497d44dd8eae1a9215789df178f6b422cc
refs/heads/master: 7ad12566dc02ca76e0056af58606b5ce0181460f
4 changes: 2 additions & 2 deletions trunk/drivers/pps/pps.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ static int __init pps_init(void)
int err;

pps_class = class_create(THIS_MODULE, "pps");
if (!pps_class) {
if (IS_ERR(pps_class)) {
pr_err("failed to allocate class\n");
return -ENOMEM;
return PTR_ERR(pps_class);
}
pps_class->dev_attrs = pps_attrs;

Expand Down

0 comments on commit 860d1bf

Please sign in to comment.