author: Tian Tao <tiantao6@hisilicon.com> 2020-12-25 16:40:06 +0800
committer: Wolfram Sang <wsa@kernel.org> 2021-01-05 17:33:48 +0100
commit: 2478b9c1dcc9aa84cfd71ed7b5ca2a2c0ede75b7
parent: 61adf63a1108f6d35a36adfd0dbd59bd3246a6c5
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 3 deletions
diff --git a/drivers/i2c/busses/i2c-hix5hd2.c b/drivers/i2c/busses/i2c-hix5hd2.c
index ab15b1ec2ab3..c45f226c2b85 100644
--- a/drivers/i2c/busses/i2c-hix5hd2.c
+++ b/drivers/i2c/busses/i2c-hix5hd2.c
@@ -413,10 +413,8 @@ static int hix5hd2_i2c_probe(struct platform_device *pdev)
return PTR_ERR(priv->regs);
irq = platform_get_irq(pdev, 0);
- if (irq <= 0) {
- dev_err(&pdev->dev, "cannot find HS-I2C IRQ\n");
+ if (irq <= 0)
return irq;
- }
priv->clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(priv->clk)) {