diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2020-12-29 14:51:47 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2021-03-24 12:44:04 +0100 |
commit | d995d3d025bbd2d89abf12418f20d19bc0cb0130 (patch) | |
tree | 091f89d9cf1b7e2cbb164d51cc538ffae5dc4468 /lib/test_kasan.c | |
parent | bus: ti-sysc: remove unneeded semicolon (diff) | |
download | linux-d995d3d025bbd2d89abf12418f20d19bc0cb0130.tar.xz linux-d995d3d025bbd2d89abf12418f20d19bc0cb0130.zip |
bus: ti-sysc: Use kzalloc for allocating only one thing
Use kzalloc rather than kcalloc(1,...)
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
@@
- kcalloc(1,
+ kzalloc(
...)
// </smpl>
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'lib/test_kasan.c')
0 files changed, 0 insertions, 0 deletions