Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37979
b: refs/heads/master
c: f676449
h: refs/heads/master
i:
  37977: eafa185
  37975: 08211a6
v: v3
  • Loading branch information
Wim Van Sebroeck committed Oct 2, 2006
1 parent 5da5893 commit c10da1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 2898172708aa84c9b0ce3865d6ff1ef76b538f51
refs/heads/master: f676449785d333078acb60ccf2046d0d3c59548f
12 changes: 6 additions & 6 deletions trunk/drivers/char/watchdog/pnx4008_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,17 +297,17 @@ static int pnx4008_wdt_probe(struct platform_device *pdev)

static int pnx4008_wdt_remove(struct platform_device *pdev)
{
if (wdt_mem) {
release_resource(wdt_mem);
kfree(wdt_mem);
wdt_mem = NULL;
}
misc_deregister(&pnx4008_wdt_miscdev);
if (wdt_clk) {
clk_set_rate(wdt_clk, 0);
clk_put(wdt_clk);
wdt_clk = NULL;
}
misc_deregister(&pnx4008_wdt_miscdev);
if (wdt_mem) {
release_resource(wdt_mem);
kfree(wdt_mem);
wdt_mem = NULL;
}
return 0;
}

Expand Down

0 comments on commit c10da1b

Please sign in to comment.