summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_asrc.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-01-07 13:44:33 -0200
committerMark Brown <broonie@kernel.org>2015-01-08 18:34:35 +0000
commitf03038e570728036cf6784a435e11ae1d24a5cf0 (patch)
tree31c2b53a93eb2760babf4d06d440aa204fbdbe4b /sound/soc/fsl/fsl_asrc.c
parent0c1232503ae5e792a5bef182c64daeb5cf52498d (diff)
downloadop-kernel-dev-f03038e570728036cf6784a435e11ae1d24a5cf0.zip
op-kernel-dev-f03038e570728036cf6784a435e11ae1d24a5cf0.tar.gz
ASoC: fsl_asrc: 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_asrc.c')
-rw-r--r--sound/soc/fsl/fsl_asrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c
index 026a801..633ffff 100644
--- a/sound/soc/fsl/fsl_asrc.c
+++ b/sound/soc/fsl/fsl_asrc.c
@@ -837,7 +837,7 @@ static int fsl_asrc_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;
}
OpenPOWER on IntegriCloud