summaryrefslogtreecommitdiffstats
path: root/lib/idr.c
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2020-12-29 14:51:47 +0100
committerTony Lindgren <tony@atomide.com>2021-03-24 12:44:04 +0100
commitd995d3d025bbd2d89abf12418f20d19bc0cb0130 (patch)
tree091f89d9cf1b7e2cbb164d51cc538ffae5dc4468 /lib/idr.c
parentbus: ti-sysc: remove unneeded semicolon (diff)
downloadlinux-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/idr.c')
0 files changed, 0 insertions, 0 deletions