Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ff73231611127463ee94e72035f6a97f8435b39b
Commit:     ff73231611127463ee94e72035f6a97f8435b39b
Parent:     97a2a2ea1ad856d5375fecf689e253adca387602
Author:     Hans-Christian Egtvedt <[EMAIL PROTECTED]>
AuthorDate: Fri Jun 8 11:01:47 2007 -0700
Committer:  Wim Van Sebroeck <[EMAIL PROTECTED]>
CommitDate: Sun Jun 10 20:11:27 2007 +0000

    [WATCHDOG] at32ap700x-wdt: add missing iounmap in _remove
    
    Signed-off-by: Hans-Christian Egtvedt <[EMAIL PROTECTED]>
    Cc: Haavard Skinnemoen <[EMAIL PROTECTED]>
    Signed-off-by: Wim Van Sebroeck <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
 drivers/char/watchdog/at32ap700x_wdt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/char/watchdog/at32ap700x_wdt.c 
b/drivers/char/watchdog/at32ap700x_wdt.c
index f08ea94..a3e2887 100644
--- a/drivers/char/watchdog/at32ap700x_wdt.c
+++ b/drivers/char/watchdog/at32ap700x_wdt.c
@@ -257,6 +257,7 @@ static int __exit at32_wdt_remove(struct platform_device 
*pdev)
 {
        if (wdt && platform_get_drvdata(pdev) == wdt) {
                misc_deregister(&wdt->miscdev);
+               iounmap(wdt->regs);
                kfree(wdt);
                wdt = NULL;
                platform_set_drvdata(pdev, NULL);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to