commit | 69ccc50231eca9a57dc06a5514103c0f17ef402e | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@kernel.org> | Thu Jun 04 17:11:18 2015 +0100 |
committer | Mark Brown <broonie@kernel.org> | Thu Jun 04 17:11:18 2015 +0100 |
tree | d2799e7ffbee6443536d1c0614c3a7e5e0cfcc98 | |
parent | c8d8ff0a9da689d9649ce7b052190abb1e49a930 [diff] |
ASoC: zte: Fix missing dev in devm operation Signed-off-by: Mark Brown <broonie@kernel.org>
diff --git a/sound/soc/zte/zx296702-spdif.c b/sound/soc/zte/zx296702-spdif.c index 4a93bca..11a0e46 100644 --- a/sound/soc/zte/zx296702-spdif.c +++ b/sound/soc/zte/zx296702-spdif.c
@@ -309,7 +309,7 @@ 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;