]> Git Repo - linux.git/commit
coccinelle: semantic patches related to devm_ functions (part 1)
authorJulia Lawall <[email protected]>
Tue, 27 Dec 2011 17:28:50 +0000 (18:28 +0100)
committerMichal Marek <[email protected]>
Sat, 14 Jan 2012 21:39:53 +0000 (22:39 +0100)
commit22e0059af301ec163d563c3590d2277c2a557d4f
tree6ac7178b9f2ef6a6210f98f92020e7987ac8bc28
parentf95ab20972cfefa8ee5428d6c3afd4cb8eacabf4
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 <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
scripts/coccinelle/api/devm_request_and_ioremap.cocci [new file with mode: 0644]
This page took 0.053156 seconds and 4 git commands to generate.