Commit c0164159 authored by Martin Kaiser's avatar Martin Kaiser Committed by Wolfram Sang
Browse files

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: default avatarMartin Kaiser <martin@kaiser.cx>
Reviewed-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent eda03fa0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
	}