projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda03fa
)
i2c: exynos5: remove duplicate error message
author
Martin Kaiser
<martin@kaiser.cx>
Sun, 1 Nov 2020 17:18:05 +0000
(18:18 +0100)
committer
Wolfram Sang
<wsa@kernel.org>
Tue, 3 Nov 2020 21:17:45 +0000
(22:17 +0100)
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>
drivers/i2c/busses/i2c-exynos5.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-exynos5.c
b/drivers/i2c/busses/i2c-exynos5.c
index 6ce3ec03b59526fd64e29dc4588b221a1b13b7d7..c5f5fb28762d8d3e7ca106cbfe56d355e78daba0 100644
(file)
--- 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;
}