Commit 1f630159 authored by Wei Yongjun's avatar Wei Yongjun Committed by Mark Brown

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 86f8973c
...@@ -396,7 +396,6 @@ static int efm32_spi_probe(struct platform_device *pdev) ...@@ -396,7 +396,6 @@ static int efm32_spi_probe(struct platform_device *pdev)
ddata->base = devm_ioremap_resource(&pdev->dev, res); ddata->base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(ddata->base)) { if (IS_ERR(ddata->base)) {
ret = PTR_ERR(ddata->base); ret = PTR_ERR(ddata->base);
dev_err(&pdev->dev, "failed to remap memory\n");
goto err; goto err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment