mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 15:42:46 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -779,7 +779,6 @@ static int exynos5_i2c_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
i2c->irq = ret = platform_get_irq(pdev, 0);
|
i2c->irq = ret = platform_get_irq(pdev, 0);
|
||||||
if (ret <= 0) {
|
if (ret <= 0) {
|
||||||
dev_err(&pdev->dev, "cannot find HS-I2C IRQ\n");
|
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
goto err_clk;
|
goto err_clk;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue