aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_esai.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-01-07 10:44:35 -0500
committerMark Brown <broonie@kernel.org>2015-01-08 13:34:43 -0500
commitda2d45249af55f4fe7186b5aca76e8cb8e7f8a1a (patch)
treedc2a1162707bf3b58cfe191301fd002fdb394e09 /sound/soc/fsl/fsl_esai.c
parent0954237f22d808df4918ced2995ff758358881c0 (diff)
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 <fabio.estevam@freescale.com> Acked-by: Nicolin Chen <nicoleotsuka@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_esai.c')
-rw-r--r--sound/soc/fsl/fsl_esai.c2
1 files changed, 1 insertions, 1 deletions
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)
774 774
775 irq = platform_get_irq(pdev, 0); 775 irq = platform_get_irq(pdev, 0);
776 if (irq < 0) { 776 if (irq < 0) {
777 dev_err(&pdev->dev, "no irq for node %s\n", np->full_name); 777 dev_err(&pdev->dev, "no irq for node %s\n", pdev->name);
778 return irq; 778 return irq;
779 } 779 }
780 780