Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30761
b: refs/heads/master
c: 6ac12df
h: refs/heads/master
i:
  30759: 7c714d2
v: v3
  • Loading branch information
Sonny Rao authored and Linus Torvalds committed Jun 28, 2006
1 parent 0cf869f commit db2a297
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b65b5b59f98aa317df399318b0b2770f50732d3c
refs/heads/master: 6ac12dfe9c2027cd3c5ed603f11d1bb4f04906fe
2 changes: 2 additions & 0 deletions trunk/drivers/rtc/class.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ struct rtc_device *rtc_device_register(const char *name, struct device *dev,
kfree(rtc);

exit_idr:
mutex_lock(&idr_lock);
idr_remove(&rtc_idr, id);
mutex_unlock(&idr_lock);

exit:
dev_err(dev, "rtc core: unable to register %s, err = %d\n",
Expand Down

0 comments on commit db2a297

Please sign in to comment.