Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188912
b: refs/heads/master
c: 8c363af
h: refs/heads/master
v: v3
  • Loading branch information
Jani Nikula authored and Linus Torvalds committed Mar 24, 2010
1 parent 530e552 commit a2b89d3
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: cb53237513bd1e090cce120efe12ede72c932b5f
refs/heads/master: 8c363afe94b885d39ae2e93e41680282a470ad84
4 changes: 2 additions & 2 deletions trunk/drivers/misc/c2port/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,8 @@ struct c2port_device *c2port_device_register(char *name,

c2dev->dev = device_create(c2port_class, NULL, 0, c2dev,
"c2port%d", id);
if (unlikely(!c2dev->dev)) {
ret = -ENOMEM;
if (unlikely(IS_ERR(c2dev->dev))) {
ret = PTR_ERR(c2dev->dev);
goto error_device_create;
}
dev_set_drvdata(c2dev->dev, c2dev);
Expand Down

0 comments on commit a2b89d3

Please sign in to comment.