aboutsummaryrefslogtreecommitdiff
path: root/drivers/watchdog/pnx4008_wdt.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2011-02-26 17:34:38 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-14 13:02:03 -0700
commit665c7153a7d73d524ed6b4783c3bd8a521285a9b (patch)
treeb8142f9f43955624349e5bfe8695fa28b9b451e3 /drivers/watchdog/pnx4008_wdt.c
parent53a624a9467771174585e85b4b6b3d7f23ec9526 (diff)
watchdog: s3c2410_wdt.c: Convert release_resource to release_region/release_mem_region
commit f72401e94d159bc4b2beab51d74e956da2c32e0a upstream. Request_mem_region should be used with release_mem_region, not release_resource. The semantic match that finds this 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/watchdog/pnx4008_wdt.c')
0 files changed, 0 insertions, 0 deletions