coccinelle: recognize more devm_* memory allocation functions
authorYann Droneaud <ydroneaud@opteya.com>
Mon, 23 May 2016 15:07:20 +0000 (17:07 +0200)
committerMichal Marek <mmarek@suse.com>
Tue, 21 Jun 2016 09:43:32 +0000 (11:43 +0200)
commita720c0644d14011d3a1bcc8d1b36e80571ad2ce1
treee94f6dfa54f3bef32d2a99d5c731dcf6802e3356
parent6dd9379e8f327e70d182b15be3ba21aa2b5d2cba
coccinelle: recognize more devm_* memory allocation functions

Updates free/devm_free.cocci to recognize functions added by:

- commit 64c862a839a8 ('devres: add kernel standard devm_k.alloc functions')
- commit e31108cad3de ('devres: introduce API "devm_kstrdup"')
- commit 3046365bb470 ('devres: introduce API "devm_kmemdup')
- commit 43339bed7010 ('devres: Add devm_get_free_pages API')
- commit 75f2a4ead5d5 ('devres: Add devm_kasprintf and devm_kvasprintf API')

See also Documentation/driver-model/devres.txt

Cc: Joe Perches <joe@perches.com>
Cc: Manish Badarkhe <badarkhe.manish@gmail.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Eli Billauer <eli.billauer@gmail.com>
Cc: Himangi Saraogi <himangi774@gmail.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Wolfram Sang <w.sang@pengutronix.de>
Cc: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/coccinelle/free/devm_free.cocci