Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192540
b: refs/heads/master
c: 30c96ce
h: refs/heads/master
v: v3
  • Loading branch information
Jani Nikula authored and Jiri Kosina committed Mar 15, 2010
1 parent 2f2b137 commit 4f66ab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 3e21ec224f0acbd2e9beeb3dea04edc1d36dbe1f
refs/heads/master: 30c96ce56a195963764de9521087202ba73e9bff
2 changes: 1 addition & 1 deletion trunk/drivers/char/bsr.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ static int bsr_add_node(struct device_node *bn)

cur->bsr_device = device_create(bsr_class, NULL, cur->bsr_dev,
cur, cur->bsr_name);
if (!cur->bsr_device) {
if (IS_ERR(cur->bsr_device)) {
printk(KERN_ERR "device_create failed for %s\n",
cur->bsr_name);
cdev_del(&cur->bsr_cdev);
Expand Down

0 comments on commit 4f66ab2

Please sign in to comment.