Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319984
b: refs/heads/master
c: 668f06b
h: refs/heads/master
v: v3
  • Loading branch information
Emil Goode authored and Linus Torvalds committed Jul 31, 2012
1 parent 1ad506f commit d4588eb
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 25353b3377d5a75d4b830477bb90a3691155de72
refs/heads/master: 668f06b9fb846ecedb73964ca5dd95ce441707be
4 changes: 3 additions & 1 deletion trunk/drivers/pps/pps.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,10 @@ int pps_register_cdev(struct pps_device *pps)
}
pps->dev = device_create(pps_class, pps->info.dev, devt, pps,
"pps%d", pps->id);
if (IS_ERR(pps->dev))
if (IS_ERR(pps->dev)) {
err = PTR_ERR(pps->dev);
goto del_cdev;
}

pps->dev->release = pps_device_destruct;

Expand Down

0 comments on commit d4588eb

Please sign in to comment.