summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sp5100_tco.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2011-02-26 17:34:39 +0100
committerWim Van Sebroeck <wim@iguana.be>2011-03-29 13:05:48 +0200
commitf712eacf02ecfbf4f1686addb8c569841549b0b7 (patch)
treea03d001ec58a239cc00e2b396b7901bc51838d7d /drivers/watchdog/sp5100_tco.c
parentwatchdog: s3c2410_wdt.c: Convert release_resource to release_region/release_m... (diff)
downloadlinux-f712eacf02ecfbf4f1686addb8c569841549b0b7.tar.xz
linux-f712eacf02ecfbf4f1686addb8c569841549b0b7.zip
watchdog: Convert release_resource to release_region/release_mem_region
Request_mem_region should be used with release_mem_region, not release_resource. In pnx4008_wdt.c, a missing clk_put is added as well. The semantic match that finds the first problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x,E; @@ *x = request_mem_region(...) ... when != release_mem_region(x) when != x = E * release_resource(x); // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Cc: stable <stable@kernel.org>
Diffstat (limited to 'drivers/watchdog/sp5100_tco.c')
0 files changed, 0 insertions, 0 deletions