aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2013-06-28 15:53:24 -0400
committerMark Brown <broonie@linaro.org>2013-06-29 05:54:49 -0400
commit128521f6017d36d7c01449d4c97b37dc10c93387 (patch)
tree8837ab9a643b456c57b8528e486bc925fb15449e /sound/soc/tegra
parentb047e1cce8fe32475ab61846772943a5e4c0a908 (diff)
ASoC: tegra20-ac97: Remove duplicate error message
devm_ioremap_resource() already outputs an error message when any of the operations it performs fails, so the duplicate in the caller can be removed. Signed-off-by: Thierry Reding <thierry.reding@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r--sound/soc/tegra/tegra20_ac97.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra20_ac97.c b/sound/soc/tegra/tegra20_ac97.c
index f52eab6d2231..6c1255b44535 100644
--- a/sound/soc/tegra/tegra20_ac97.c
+++ b/sound/soc/tegra/tegra20_ac97.c
@@ -343,7 +343,6 @@ static int tegra20_ac97_platform_probe(struct platform_device *pdev)
343 regs = devm_ioremap_resource(&pdev->dev, mem); 343 regs = devm_ioremap_resource(&pdev->dev, mem);
344 if (IS_ERR(regs)) { 344 if (IS_ERR(regs)) {
345 ret = PTR_ERR(regs); 345 ret = PTR_ERR(regs);
346 dev_err(&pdev->dev, "ioremap failed: %d\n", ret);
347 goto err_clk_put; 346 goto err_clk_put;
348 } 347 }
349 348