Commit 69ccc502 authored by Mark Brown's avatar Mark Brown

ASoC: zte: Fix missing dev in devm operation

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c8d8ff0a
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment