1
0
Fork 0

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>
hifive-unleashed-5.1
Fabio Estevam 2015-01-07 13:44:35 -02:00 committed by Mark Brown
parent 0954237f22
commit da2d45249a
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ static int fsl_esai_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;
}