diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-07-20 22:01:42 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-25 18:25:59 +0100 |
commit | 4e6fafee0289222105c40ddd7293da19b043122c (patch) | |
tree | f5b3058ea7b7db47d7cc83c367a57f7ecd2245a4 /drivers/spi | |
parent | c4950143fcc0da75b89c11365a500c0879431d81 (diff) | |
download | op-kernel-dev-4e6fafee0289222105c40ddd7293da19b043122c.zip op-kernel-dev-4e6fafee0289222105c40ddd7293da19b043122c.tar.gz |
spi/rockchip: remove redundant dev_err call in rockchip_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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-rockchip.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index 05e18e9..47c9168 100644 --- 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; } |