mirror of https://gitee.com/openkylin/linux.git
i2c: exynos5: remove duplicate error message
platform_get_irq already prints an error message if the requested irq was not found. Don't print another message in the driver. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
parent
eda03fa027
commit
c0164159c2
|
@ -779,7 +779,6 @@ static int exynos5_i2c_probe(struct platform_device *pdev)
|
|||
|
||||
i2c->irq = ret = platform_get_irq(pdev, 0);
|
||||
if (ret <= 0) {
|
||||
dev_err(&pdev->dev, "cannot find HS-I2C IRQ\n");
|
||||
ret = -EINVAL;
|
||||
goto err_clk;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue