Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86562d04 authored by Wei Yongjun's avatar Wei Yongjun Committed by Mark Brown
Browse files

spi: tegra114: remove redundant dev_err call in tegra_spi_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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent ad81f054
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
	}