commit | 9955d906f28098dfb7be9b5c75006c5f2b431772 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Wed May 27 14:23:31 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Thu Jun 11 18:15:10 2020 +0200 |
tree | 757eb1456c688a2852244a90c3854facd89641de | |
parent | 591e6a0aad547b37123274a290ab6e172bc8be9d [diff] |
media: atomisp: remove kvmalloc/kvcalloc abstractions The sh_css layer adds an abstraction for kvmalloc/kvcalloc. Get rid of them. Most of the work here was done by this small coccinelle script: <cocci> @@ expression size; @@ - sh_css_malloc(size) + kvmalloc(size, GFP_KERNEL) @@ expression n; expression size; @@ - sh_css_calloc(n, size) + kvcalloc(n, size, GFP_KERNEL) </cocci> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>