ASoC: tegra20-ac97: Remove duplicate error message
authorThierry Reding <thierry.reding@gmail.com>
Fri, 28 Jun 2013 19:53:24 +0000 (21:53 +0200)
committerMark Brown <broonie@linaro.org>
Sat, 29 Jun 2013 09:54:49 +0000 (10:54 +0100)
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>
sound/soc/tegra/tegra20_ac97.c

index f52eab6..6c1255b 100644 (file)
@@ -343,7 +343,6 @@ static int tegra20_ac97_platform_probe(struct platform_device *pdev)
        regs = devm_ioremap_resource(&pdev->dev, mem);
        if (IS_ERR(regs)) {
                ret = PTR_ERR(regs);
-               dev_err(&pdev->dev, "ioremap failed: %d\n", ret);
                goto err_clk_put;
        }