Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37641
b: refs/heads/master
c: 328a338
h: refs/heads/master
i:
  37639: 3ee08d8
v: v3
  • Loading branch information
Rolf Eike Beer authored and Linus Torvalds committed Oct 1, 2006
1 parent 12b6994 commit 5a5f2a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: cc088d10d02978641c7a2eecd18caf1e01e597b3
refs/heads/master: 328a338f6f9943a0a77292315a25628b22f79fed
1 change: 0 additions & 1 deletion trunk/drivers/rtc/rtc-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@ static int rtc_dev_add_device(struct class_device *class_dev,
rtc->char_dev.owner = rtc->owner;

if (cdev_add(&rtc->char_dev, MKDEV(MAJOR(rtc_devt), rtc->id), 1)) {
cdev_del(&rtc->char_dev);
dev_err(class_dev->dev,
"failed to add char device %d:%d\n",
MAJOR(rtc_devt), rtc->id);
Expand Down

0 comments on commit 5a5f2a9

Please sign in to comment.