diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-27 14:23:31 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-11 18:15:10 +0200 |
commit | 9955d906f28098dfb7be9b5c75006c5f2b431772 (patch) | |
tree | 757eb1456c688a2852244a90c3854facd89641de /lib/seq_buf.c | |
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>
Diffstat (limited to 'lib/seq_buf.c')
0 files changed, 0 insertions, 0 deletions