mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 06:32:50 +00:00
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>
This commit is contained in:
parent
86f8973c10
commit
1f6301593d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user