diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-01-07 10:44:34 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-08 13:34:39 -0500 |
commit | 0954237f22d808df4918ced2995ff758358881c0 (patch) | |
tree | 25899888e2f657c9d8cb1bfddf0d2592f82b932a /sound/soc/fsl | |
parent | f03038e570728036cf6784a435e11ae1d24a5cf0 (diff) |
ASoC: fsl_sai: 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')
-rw-r--r-- | sound/soc/fsl/fsl_sai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 032d2d33619c..ec79c3d5e65e 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c | |||
@@ -612,7 +612,7 @@ static int fsl_sai_probe(struct platform_device *pdev) | |||
612 | 612 | ||
613 | irq = platform_get_irq(pdev, 0); | 613 | irq = platform_get_irq(pdev, 0); |
614 | if (irq < 0) { | 614 | if (irq < 0) { |
615 | dev_err(&pdev->dev, "no irq for node %s\n", np->full_name); | 615 | dev_err(&pdev->dev, "no irq for node %s\n", pdev->name); |
616 | return irq; | 616 | return irq; |
617 | } | 617 | } |
618 | 618 | ||