Commit ff73231611127463ee94e72035f6a97f8435b39b

Authored by Hans-Christian Egtvedt
Committed by Wim Van Sebroeck
1 parent 97a2a2ea1a

[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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/char/watchdog/at32ap700x_wdt.c
... ... @@ -257,6 +257,7 @@
257 257 {
258 258 if (wdt && platform_get_drvdata(pdev) == wdt) {
259 259 misc_deregister(&wdt->miscdev);
  260 + iounmap(wdt->regs);
260 261 kfree(wdt);
261 262 wdt = NULL;
262 263 platform_set_drvdata(pdev, NULL);