summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hcegtvedt@atmel.com>2007-06-08 11:01:47 -0700
committerWim Van Sebroeck <wim@iguana.be>2007-06-10 20:11:27 +0000
commitff73231611127463ee94e72035f6a97f8435b39b (patch)
treee0a9c4cc1d4de7d05517c9506a51790fbddc49b9 /drivers
parent97a2a2ea1ad856d5375fecf689e253adca387602 (diff)
downloadkernel-crypto-ff73231611127463ee94e72035f6a97f8435b39b.tar.gz
kernel-crypto-ff73231611127463ee94e72035f6a97f8435b39b.tar.xz
kernel-crypto-ff73231611127463ee94e72035f6a97f8435b39b.zip
[WATCHDOG] at32ap700x-wdt: add missing iounmap in _remove
Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com> Cc: Haavard Skinnemoen <hskinnemoen@atmel.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/watchdog/at32ap700x_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/watchdog/at32ap700x_wdt.c b/drivers/char/watchdog/at32ap700x_wdt.c
index f08ea9493d2..a3e288701ba 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);