summaryrefslogtreecommitdiff
path: root/drivers/soundwire/cadence_master.c
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2020-12-29 21:50:12 +0800
committerVinod Koul <vkoul@kernel.org>2021-01-06 11:30:02 +0530
commit235ae89b66767652f9e9e10946b8a38caf6a26f6 (patch)
tree3c940c04beb0423206ee35f5a793566e7fc0e79b /drivers/soundwire/cadence_master.c
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
soundwire: intel: 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> Link: https://lore.kernel.org/r/20201229135012.23472-1-zhengyongjun3@huawei.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/cadence_master.c')
0 files changed, 0 insertions, 0 deletions