OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2fc302
)
ASoC: fsl_aud2htx: Remove dev_err() usage after platform_get_irq()
author
Shengjiu Wang
<shengjiu.wang@nxp.com>
Sat, 7 Nov 2020 02:20:43 +0000
(10:20 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 9 Nov 2020 17:43:15 +0000
(17:43 +0000)
platform_get_irq() would print error message internally, so dev_err()
after platform_get_irq() is not needed
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link:
https://lore.kernel.org/r/1604715643-29507-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_aud2htx.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/fsl_aud2htx.c
b/sound/soc/fsl/fsl_aud2htx.c
index
124aeb7
..
4091ccc
100644
(file)
--- a/
sound/soc/fsl/fsl_aud2htx.c
+++ b/
sound/soc/fsl/fsl_aud2htx.c
@@
-211,11
+211,8
@@
static int fsl_aud2htx_probe(struct platform_device *pdev)
}
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_err(&pdev->dev, "no irq for node %s\n",
- dev_name(&pdev->dev));
+ if (irq < 0)
return irq;
- }
ret = devm_request_irq(&pdev->dev, irq, fsl_aud2htx_isr, 0,
dev_name(&pdev->dev), aud2htx);