diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-01-07 13:44:36 -0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-08 18:34:48 +0000 |
commit | b968d83f09d8a4af1c178f504bc0414bbb37651d (patch) | |
tree | dc86f7e89084ce4b5cef701766a3c80b641655e4 | |
parent | da2d45249af55f4fe7186b5aca76e8cb8e7f8a1a (diff) | |
download | linux-b968d83f09d8a4af1c178f504bc0414bbb37651d.tar.gz linux-b968d83f09d8a4af1c178f504bc0414bbb37651d.tar.bz2 linux-b968d83f09d8a4af1c178f504bc0414bbb37651d.zip |
ASoC: fsl_spdif: 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>
-rw-r--r-- | sound/soc/fsl/fsl_spdif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index af0429421fc8..735e2eec52f7 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c @@ -1198,7 +1198,7 @@ static int fsl_spdif_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; } |