aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-07-04 11:08:07 -0400
committerMark Brown <broonie@kernel.org>2016-07-04 11:28:30 -0400
commit62ee4ecb6b40dbddff04c857a82584f51ee460be (patch)
tree58e5911f97b1f37f16acc5422fa4a91bc4b0e390 /sound
parentdcf7d1992b943192856ccf453375b158e3afd0a3 (diff)
ASoC: sunxi: remove redundant dev_err call in sun4i_i2s_probe()
There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/sunxi/sun4i-i2s.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c
index fab52347c6d7..687a8f83dbe5 100644
--- a/sound/soc/sunxi/sun4i-i2s.c
+++ b/sound/soc/sunxi/sun4i-i2s.c
@@ -599,10 +599,8 @@ static int sun4i_i2s_probe(struct platform_device *pdev)
599 599
600 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 600 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
601 regs = devm_ioremap_resource(&pdev->dev, res); 601 regs = devm_ioremap_resource(&pdev->dev, res);
602 if (IS_ERR(regs)) { 602 if (IS_ERR(regs))
603 dev_err(&pdev->dev, "Can't request IO region\n");
604 return PTR_ERR(regs); 603 return PTR_ERR(regs);
605 }
606 604
607 irq = platform_get_irq(pdev, 0); 605 irq = platform_get_irq(pdev, 0);
608 if (irq < 0) { 606 if (irq < 0) {