aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle/free/devm_free.cocci
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2011-12-27 18:28:50 +0100
committerMichal Marek <mmarek@suse.cz>2012-01-14 22:39:53 +0100
commit22e0059af301ec163d563c3590d2277c2a557d4f (patch)
tree6ac7178b9f2ef6a6210f98f92020e7987ac8bc28 /scripts/coccinelle/free/devm_free.cocci
parentcoccinelle.txt: update documentation to include M= option (diff)
downloadlinux-dev-22e0059af301ec163d563c3590d2277c2a557d4f.tar.xz
linux-dev-22e0059af301ec163d563c3590d2277c2a557d4f.zip
coccinelle: semantic patches related to devm_ functions (part 1)
devm_ functions allocate memory that is to remain allocated until the device is detached. This patch checks for opportunities for using the function devm_request_and_ioremap. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/coccinelle/free/devm_free.cocci')
0 files changed, 0 insertions, 0 deletions