Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48130
b: refs/heads/master
c: 9cd4461
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Wim Van Sebroeck committed Dec 19, 2006
1 parent 76b1cdb commit 00c261f
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 0b6dd8a640fbaf73b74949b6dc2be50263532576
refs/heads/master: 9cd446198e7646431a7f2ce7dbeec8df9f77012b
3 changes: 2 additions & 1 deletion trunk/drivers/char/watchdog/pnx4008_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ static int pnx4008_wdt_probe(struct platform_device *pdev)
wdt_base = (void __iomem *)IO_ADDRESS(res->start);

wdt_clk = clk_get(&pdev->dev, "wdt_ck");
if (!wdt_clk) {
if (IS_ERR(wdt_clk)) {
ret = PTR_ERR(wdt_clk);
release_resource(wdt_mem);
kfree(wdt_mem);
goto out;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/char/watchdog/s3c2410_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,9 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
}

wdt_clock = clk_get(&pdev->dev, "watchdog");
if (wdt_clock == NULL) {
if (IS_ERR(wdt_clock)) {
printk(KERN_INFO PFX "failed to find watchdog clock source\n");
ret = -ENOENT;
ret = PTR_ERR(wdt_clock);
goto err_irq;
}

Expand Down

0 comments on commit 00c261f

Please sign in to comment.