summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-efm32.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-08-18 10:11:12 +0200
committerMark Brown <broonie@linaro.org>2013-08-22 12:39:04 +0200
commit1f6301593d692c7038a1f4db55edd551917bcc17 (patch)
tree5221dc36cbbac792441c3bae27427b59253c067a /drivers/spi/spi-efm32.c
parentspi: new controller driver for efm32 SoCs (diff)
downloadlinux-1f6301593d692c7038a1f4db55edd551917bcc17.tar.xz
linux-1f6301593d692c7038a1f4db55edd551917bcc17.zip
spi: spi-efm32: remove redundant dev_err call in efm32_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/spi-efm32.c')
-rw-r--r--drivers/spi/spi-efm32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-efm32.c b/drivers/spi/spi-efm32.c
index ba38452f646f..dbfef3dbed31 100644
--- a/drivers/spi/spi-efm32.c
+++ b/drivers/spi/spi-efm32.c
@@ -396,7 +396,6 @@ static int efm32_spi_probe(struct platform_device *pdev)
ddata->base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(ddata->base)) {
ret = PTR_ERR(ddata->base);
- dev_err(&pdev->dev, "failed to remap memory\n");
goto err;
}