From: Thierry Reding Date: Fri, 28 Jun 2013 19:53:24 +0000 (+0200) Subject: ASoC: tegra20-ac97: Remove duplicate error message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=128521f6017d36d7c01449d4c97b37dc10c93387;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mark Brown --- 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) 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; }