Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41082
b: refs/heads/master
c: 5e66b0b
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Nov 25, 2006
1 parent 9b2bdcf commit 4d2c5a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 753ca4f312a4b26940e4731b4fa5dbbbbcc77e97
refs/heads/master: 5e66b0b5f187c811419ff10cfb5668c028a64d57
5 changes: 2 additions & 3 deletions trunk/drivers/char/tlclk.c
Original file line number Diff line number Diff line change
Expand Up @@ -792,15 +792,14 @@ static int __init tlclk_init(void)
ret = misc_register(&tlclk_miscdev);
if (ret < 0) {
printk(KERN_ERR "tlclk: misc_register returns %d.\n", ret);
ret = -EBUSY;
goto out3;
}

tlclk_device = platform_device_register_simple("telco_clock",
-1, NULL, 0);
if (!tlclk_device) {
if (IS_ERR(tlclk_device)) {
printk(KERN_ERR "tlclk: platform_device_register failed.\n");
ret = -EBUSY;
ret = PTR_ERR(tlclk_device);
goto out4;
}

Expand Down

0 comments on commit 4d2c5a7

Please sign in to comment.