Files
linux/drivers
Julia Lawall 449d2c759d i2c-pnx: Correct use of request_region/request_mem_region
request_mem_region should be used when ioremap is used subsequently.
release_region is then correspondingly replaced by release_mem_region.

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
expression start,E;
@@

- request_region
+ request_mem_region
  (start,...)
... when != request_mem_region(start,...)
    when != start = E
ioremap(start,...)

@@
expression r.start;
@@

- release_region
+ release_mem_region
  (start,...)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Cc: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2009-09-18 22:45:51 +02:00
..
2009-08-02 12:54:22 -07:00
2009-08-15 12:58:45 +09:00
2009-09-01 01:13:16 -07:00
2009-08-04 20:31:32 +02:00
2009-09-15 09:50:48 -07:00
2009-08-26 20:06:52 -07:00
2009-09-15 09:37:12 -07:00
2009-09-12 12:04:37 +01:00
2009-09-16 16:21:00 -04:00
2009-07-30 16:03:45 +09:30