ASoC: zte: Fix missing dev in devm operation

Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Mark Brown 2015-06-04 17:11:18 +01:00
parent c8d8ff0a9d
commit 69ccc50231
1 changed files with 1 additions and 1 deletions

View File

@ -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;