aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-07-02 08:37:44 +0800
committerMark Brown <broonie@linaro.org>2013-07-15 11:44:21 +0100
commit86562d04fc8212e2453d9714064a741a7d400da0 (patch)
tree5da1f8708dc4689598c1d2daaaa44e2f6a8b0e06 /drivers/spi
parentad81f0545ef01ea651886dddac4bef6cec930092 (diff)
downloadkernel_goldelico_gta04-86562d04fc8212e2453d9714064a741a7d400da0.zip
kernel_goldelico_gta04-86562d04fc8212e2453d9714064a741a7d400da0.tar.gz
kernel_goldelico_gta04-86562d04fc8212e2453d9714064a741a7d400da0.tar.bz2
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: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-tegra114.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-tegra114.c b/drivers/spi/spi-tegra114.c
index e8f542a..8c99c00 100644
--- a/drivers/spi/spi-tegra114.c
+++ b/drivers/spi/spi-tegra114.c
@@ -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;
}