summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-spdif.c
diff options
context:
space:
mode:
authorFabio Estevam2013-12-02 03:41:24 +0100
committerMark Brown2013-12-02 12:12:39 +0100
commit4ded61eb3ea87e9c563e09662be3ed5e942ff2a2 (patch)
tree16c379eea09bd5e9e788759fba2ba313a0662a63 /sound/soc/fsl/imx-spdif.c
parentASoC: fsl-ssi: Move ac97 specific setup to seperate function (diff)
downloadkernel-qcow2-linux-4ded61eb3ea87e9c563e09662be3ed5e942ff2a2.tar.gz
kernel-qcow2-linux-4ded61eb3ea87e9c563e09662be3ed5e942ff2a2.tar.xz
kernel-qcow2-linux-4ded61eb3ea87e9c563e09662be3ed5e942ff2a2.zip
ASoC: imx-spdif: Remove error message upon devm_kzalloc() failure
No need to have a specific OOM message, since there is generic MM out of memory message in place. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/imx-spdif.c')
-rw-r--r--sound/soc/fsl/imx-spdif.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-spdif.c b/sound/soc/fsl/imx-spdif.c
index 8499d5292f08..980dd1fc9113 100644
--- a/sound/soc/fsl/imx-spdif.c
+++ b/sound/soc/fsl/imx-spdif.c
@@ -35,7 +35,6 @@ static int imx_spdif_audio_probe(struct platform_device *pdev)
data = devm_kzalloc(&pdev->dev, sizeof(*data), GFP_KERNEL);
if (!data) {
- dev_err(&pdev->dev, "failed to allocate memory\n");
ret = -ENOMEM;
goto end;
}