From 69ccc50231eca9a57dc06a5514103c0f17ef402e Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 4 Jun 2015 17:11:18 +0100 Subject: ASoC: zte: Fix missing dev in devm operation Signed-off-by: Mark Brown --- sound/soc/zte/zx296702-spdif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/soc/zte') 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; -- cgit v1.2.3