git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: devm_kzalloc() -> devm_kcalloc()
[sfrench/cifs-2.6.git]
/
sound
/
soc
/
codecs
/
hdmi-codec.c
diff --git
a/sound/soc/codecs/hdmi-codec.c
b/sound/soc/codecs/hdmi-codec.c
index 6fa11888672d4ca0c60096205c45e52f647f9ab8..38e4a8515709743c75befa77addca1b491c7979b 100644
(file)
--- a/
sound/soc/codecs/hdmi-codec.c
+++ b/
sound/soc/codecs/hdmi-codec.c
@@
-771,7
+771,7
@@
static int hdmi_codec_probe(struct platform_device *pdev)
hcp->hcd = *hcd;
mutex_init(&hcp->current_stream_lock);
- hcp->daidrv = devm_k
zalloc(dev, dai_count *
sizeof(*hcp->daidrv),
+ hcp->daidrv = devm_k
calloc(dev, dai_count,
sizeof(*hcp->daidrv),
GFP_KERNEL);
if (!hcp->daidrv)
return -ENOMEM;