Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288241
b: refs/heads/master
c: 22ea71d
h: refs/heads/master
i:
  288239: 5c02ce5
v: v3
  • Loading branch information
Dan Carpenter authored and Linus Torvalds committed Mar 5, 2012
1 parent 860d1bf commit 2ce7e0a
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: 7ad12566dc02ca76e0056af58606b5ce0181460f
refs/heads/master: 22ea71d7f49c3115e3a9ced5eac109fef26d3559
4 changes: 2 additions & 2 deletions trunk/drivers/misc/c2port/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -984,9 +984,9 @@ static int __init c2port_init(void)
" - (C) 2007 Rodolfo Giometti\n");

c2port_class = class_create(THIS_MODULE, "c2port");
if (!c2port_class) {
if (IS_ERR(c2port_class)) {
printk(KERN_ERR "c2port: failed to allocate class\n");
return -ENOMEM;
return PTR_ERR(c2port_class);
}
c2port_class->dev_attrs = c2port_attrs;

Expand Down

0 comments on commit 2ce7e0a

Please sign in to comment.