diff options
author | Himanshu Jha <himanshujha199640@gmail.com> | 2018-01-04 16:53:50 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-01-04 16:53:50 +0100 |
commit | f950bc7880b31cfede87d99fbc4fd4d2b40914c5 (patch) | |
tree | 4560702dea9709cbcc2a8806e8dbd4ac7d28535d /drivers/pwm | |
parent | vfb: fix video mode and line_length being set when loaded (diff) | |
download | linux-f950bc7880b31cfede87d99fbc4fd4d2b40914c5.tar.xz linux-f950bc7880b31cfede87d99fbc4fd4d2b40914c5.zip |
fbdev: auo_k190x: Use zeroing memory allocator instead of allocator/memset
Use vzalloc for allocating zeroed memory and remove unnecessary
memset function.
Done using Coccinelle.
Generated-by scripts/coccinelle/api/alloc/kzalloc-simple.cocci.
0-day tested with no failures.
Suggested-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
[b.zolnierkie: fixed minor issues in the patch description]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions