projects
/
GitHub
/
moto-9609
/
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:
c495014
)
spi/rockchip: remove redundant dev_err call in rockchip_spi_probe()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Sun, 20 Jul 2014 14:01:42 +0000
(22:01 +0800)
committer
Mark Brown
<broonie@linaro.org>
Fri, 25 Jul 2014 17:25:59 +0000
(18:25 +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-rockchip.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-rockchip.c
b/drivers/spi/spi-rockchip.c
index 05e18e9af81389b04b1e7ba7c60e1d6c4b4e6d98..47c9168f18b235badd25304896a9a642989a235d 100644
(file)
--- a/
drivers/spi/spi-rockchip.c
+++ b/
drivers/spi/spi-rockchip.c
@@
-600,7
+600,6
@@
static int rockchip_spi_probe(struct platform_device *pdev)
mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
rs->regs = devm_ioremap_resource(&pdev->dev, mem);
if (IS_ERR(rs->regs)) {
- dev_err(&pdev->dev, "Failed to map SPI region\n");
ret = PTR_ERR(rs->regs);
goto err_ioremap_resource;
}