projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86f8973
)
spi: spi-efm32: remove redundant dev_err call in efm32_spi_probe()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Sun, 18 Aug 2013 08:11:12 +0000
(16:11 +0800)
committer
Mark Brown
<broonie@linaro.org>
Thu, 22 Aug 2013 10:39:04 +0000
(11:39 +0100)
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>
drivers/spi/spi-efm32.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-efm32.c
b/drivers/spi/spi-efm32.c
index ba38452f646f27eb5da2b74f3c2751d4d7802d36..dbfef3dbed31419a1e149f20fcb1c2abba409fcd 100644
(file)
--- 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;
}