summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2020-11-01 18:18:05 +0100
committerWolfram Sang <wsa@kernel.org>2020-11-03 22:17:45 +0100
commitc0164159c2dce4acdd6e9901b3d2fe0995b78430 (patch)
tree6639ca564246221607a140f1a94dd4623b5f428d /drivers/i2c
parenteda03fa0279a43b5211485b50686f075bd17e5aa (diff)
downloadlinux-c0164159c2dce4acdd6e9901b3d2fe0995b78430.tar.bz2
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-exynos5.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-exynos5.c b/drivers/i2c/busses/i2c-exynos5.c
index 6ce3ec03b595..c5f5fb28762d 100644
--- a/drivers/i2c/busses/i2c-exynos5.c
+++ b/drivers/i2c/busses/i2c-exynos5.c
@@ -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;
}