From: Fabio Estevam Date: Wed, 7 Jan 2015 15:44:35 +0000 (-0200) Subject: ASoC: fsl_esai: Make error message concise X-Git-Tag: v4.0-rc1~129^2~13^2~7^5~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=da2d45249af55f4fe7186b5aca76e8cb8e7f8a1a;p=karo-tx-linux.git ASoC: fsl_esai: Make error message concise Currently the error message uses 'np->full_name' which leads to a very verbose log that contains the full path of the node. We can have a concise log by using pdev->name instead. Signed-off-by: Fabio Estevam Acked-by: Nicolin Chen Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c index 1c08ab13637c..5c7597191e3f 100644 --- a/sound/soc/fsl/fsl_esai.c +++ b/sound/soc/fsl/fsl_esai.c @@ -774,7 +774,7 @@ static int fsl_esai_probe(struct platform_device *pdev) irq = platform_get_irq(pdev, 0); if (irq < 0) { - dev_err(&pdev->dev, "no irq for node %s\n", np->full_name); + dev_err(&pdev->dev, "no irq for node %s\n", pdev->name); return irq; }