diff options
Diffstat (limited to 'sound/soc/tegra/tegra_alc5632.c')
| -rw-r--r-- | sound/soc/tegra/tegra_alc5632.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/tegra/tegra_alc5632.c b/sound/soc/tegra/tegra_alc5632.c index eead6e7f205b..0509902512cc 100644 --- a/sound/soc/tegra/tegra_alc5632.c +++ b/sound/soc/tegra/tegra_alc5632.c | |||
| @@ -169,10 +169,8 @@ static int tegra_alc5632_probe(struct platform_device *pdev) | |||
| 169 | 169 | ||
| 170 | alc5632 = devm_kzalloc(&pdev->dev, | 170 | alc5632 = devm_kzalloc(&pdev->dev, |
| 171 | sizeof(struct tegra_alc5632), GFP_KERNEL); | 171 | sizeof(struct tegra_alc5632), GFP_KERNEL); |
| 172 | if (!alc5632) { | 172 | if (!alc5632) |
| 173 | dev_err(&pdev->dev, "Can't allocate tegra_alc5632\n"); | ||
| 174 | return -ENOMEM; | 173 | return -ENOMEM; |
| 175 | } | ||
| 176 | 174 | ||
| 177 | card->dev = &pdev->dev; | 175 | card->dev = &pdev->dev; |
| 178 | platform_set_drvdata(pdev, card); | 176 | platform_set_drvdata(pdev, card); |
