OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad81f05
)
spi: tegra114: remove redundant dev_err call in tegra_spi_probe()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Tue, 2 Jul 2013 00:37:44 +0000
(08:37 +0800)
committer
Mark Brown
<broonie@linaro.org>
Mon, 15 Jul 2013 10:44:21 +0000
(11:44 +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-tegra114.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-tegra114.c
b/drivers/spi/spi-tegra114.c
index
e8f542a
..
8c99c00
100644
(file)
--- a/
drivers/spi/spi-tegra114.c
+++ b/
drivers/spi/spi-tegra114.c
@@
-1068,7
+1068,6
@@
static int tegra_spi_probe(struct platform_device *pdev)
tspi->base = devm_ioremap_resource(&pdev->dev, r);
if (IS_ERR(tspi->base)) {
ret = PTR_ERR(tspi->base);
- dev_err(&pdev->dev, "ioremap failed: err = %d\n", ret);
goto exit_free_master;
}