diff options
| -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 05e18e9af813..47c9168f18b2 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) | |||
| 600 | mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 600 | mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
| 601 | rs->regs = devm_ioremap_resource(&pdev->dev, mem); | 601 | rs->regs = devm_ioremap_resource(&pdev->dev, mem); |
| 602 | if (IS_ERR(rs->regs)) { | 602 | if (IS_ERR(rs->regs)) { |
| 603 | dev_err(&pdev->dev, "Failed to map SPI region\n"); | ||
| 604 | ret = PTR_ERR(rs->regs); | 603 | ret = PTR_ERR(rs->regs); |
| 605 | goto err_ioremap_resource; | 604 | goto err_ioremap_resource; |
| 606 | } | 605 | } |
