Julia Lawall f72401e94d watchdog: s3c2410_wdt.c: Convert release_resource to release_region/release_mem_region
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>
Cc: stable <stable@kernel.org>
2011-03-29 11:05:28 +00:00
..
2010-03-07 10:30:57 +00:00
2010-03-07 10:30:57 +00:00
2010-03-07 10:30:57 +00:00
2010-03-07 10:30:57 +00:00
2010-03-07 10:30:57 +00:00
2009-09-18 08:39:37 +00:00
2010-03-07 10:30:57 +00:00
2011-03-15 16:02:27 +00:00
2011-03-15 16:02:18 +00:00
2010-03-07 10:30:57 +00:00
2010-03-07 10:30:57 +00:00
2011-03-15 16:02:27 +00:00
2011-03-01 15:47:58 +01:00
2009-09-18 08:39:37 +00:00
2011-03-15 16:02:27 +00:00
2010-03-07 10:30:57 +00:00
2011-03-15 16:02:27 +00:00
2011-03-15 16:02:27 +00:00
2011-03-15 16:02:27 +00:00
2010-03-07 10:30:57 +00:00
2011-03-15 16:02:18 +00:00