diff options
author | Julia Lawall <julia@diku.dk> | 2011-04-22 22:11:22 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-24 09:08:59 +0200 |
commit | d2f6b7f7aaa245d6d96f9b3a95fc258f20c9e0a8 (patch) | |
tree | d6e790472d235efdecf07f999d2e0ba2bb052bab /drivers/video/fb_ddc.c | |
parent | drivers/video: Convert release_resource to release_mem_region (diff) | |
download | linux-d2f6b7f7aaa245d6d96f9b3a95fc258f20c9e0a8.tar.xz linux-d2f6b7f7aaa245d6d96f9b3a95fc258f20c9e0a8.zip |
drivers/video/sm501fb.c: Convert release_resource to 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>
@s exists@
expression e1,e2,e3,e4,e;
@@
*e4 = request_mem_region(e1,e2,e3)
... when != e4 = e
*release_resource(e4);
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/fb_ddc.c')
0 files changed, 0 insertions, 0 deletions