summaryrefslogtreecommitdiffstats
path: root/sound/soc/zte
diff options
context:
space:
mode:
authorMark Brown2015-06-04 18:11:18 +0200
committerMark Brown2015-06-04 18:11:18 +0200
commit69ccc50231eca9a57dc06a5514103c0f17ef402e (patch)
treed2799e7ffbee6443536d1c0614c3a7e5e0cfcc98 /sound/soc/zte
parentASoC: zx: fix simple_return.cocci warnings (diff)
downloadkernel-qcow2-linux-69ccc50231eca9a57dc06a5514103c0f17ef402e.tar.gz
kernel-qcow2-linux-69ccc50231eca9a57dc06a5514103c0f17ef402e.tar.xz
kernel-qcow2-linux-69ccc50231eca9a57dc06a5514103c0f17ef402e.zip
ASoC: zte: Fix missing dev in devm operation
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/zte')
-rw-r--r--sound/soc/zte/zx296702-spdif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/zte/zx296702-spdif.c b/sound/soc/zte/zx296702-spdif.c
index 4a93bca232ff..11a0e46a1156 100644
--- a/sound/soc/zte/zx296702-spdif.c
+++ b/sound/soc/zte/zx296702-spdif.c
@@ -309,7 +309,7 @@ static int zx_spdif_probe(struct platform_device *pdev)
struct zx_spdif_info *zx_spdif;
int ret;
- zx_spdif = devm_kzalloc(sizeof(*zx_spdif), GFP_KERNEL);
+ zx_spdif = devm_kzalloc(&pdev->dev, sizeof(*zx_spdif), GFP_KERNEL);
if (!zx_spdif)
return -ENOMEM;