diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-01-07 10:44:36 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-08 13:34:48 -0500 |
commit | b968d83f09d8a4af1c178f504bc0414bbb37651d (patch) | |
tree | dc86f7e89084ce4b5cef701766a3c80b641655e4 /sound/soc/fsl | |
parent | da2d45249af55f4fe7186b5aca76e8cb8e7f8a1a (diff) |
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>
Diffstat (limited to 'sound/soc/fsl')
-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) | |||
1198 | 1198 | ||
1199 | irq = platform_get_irq(pdev, 0); | 1199 | irq = platform_get_irq(pdev, 0); |
1200 | if (irq < 0) { | 1200 | if (irq < 0) { |
1201 | dev_err(&pdev->dev, "no irq for node %s\n", np->full_name); | 1201 | dev_err(&pdev->dev, "no irq for node %s\n", pdev->name); |
1202 | return irq; | 1202 | return irq; |
1203 | } | 1203 | } |
1204 | 1204 | ||