aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra_wm9712.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/tegra/tegra_wm9712.c')
-rw-r--r--sound/soc/tegra/tegra_wm9712.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/tegra/tegra_wm9712.c b/sound/soc/tegra/tegra_wm9712.c
index 6492f8143ff1..c9cd22432627 100644
--- a/sound/soc/tegra/tegra_wm9712.c
+++ b/sound/soc/tegra/tegra_wm9712.c
@@ -77,10 +77,8 @@ static int tegra_wm9712_driver_probe(struct platform_device *pdev)
77 77
78 machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm9712), 78 machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm9712),
79 GFP_KERNEL); 79 GFP_KERNEL);
80 if (!machine) { 80 if (!machine)
81 dev_err(&pdev->dev, "Can't allocate tegra_wm9712 struct\n");
82 return -ENOMEM; 81 return -ENOMEM;
83 }
84 82
85 card->dev = &pdev->dev; 83 card->dev = &pdev->dev;
86 platform_set_drvdata(pdev, card); 84 platform_set_drvdata(pdev, card);