Skip to content

Commit

Permalink
spi: tegra114: remove redundant dev_err call in tegra_spi_probe()
Browse files Browse the repository at this point in the history
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@linaro.org>
  • Loading branch information
Wei Yongjun authored and Mark Brown committed Jul 15, 2013
1 parent ad81f05 commit 86562d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/spi/spi-tegra114.c
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,6 @@ static int tegra_spi_probe(struct platform_device *pdev)
tspi->base = devm_ioremap_resource(&pdev->dev, r);
if (IS_ERR(tspi->base)) {
ret = PTR_ERR(tspi->base);
dev_err(&pdev->dev, "ioremap failed: err = %d\n", ret);
goto exit_free_master;
}

Expand Down

0 comments on commit 86562d0

Please sign in to comment.