Merge branch 'i2c/for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa...
[linux-2.6-microblaze.git] / drivers / i2c / busses / i2c-stm32f7.c
index 473fbe1..c62c815 100644 (file)
@@ -2035,12 +2035,8 @@ static int stm32f7_i2c_probe(struct platform_device *pdev)
        }
 
        irq_error = platform_get_irq(pdev, 1);
-       if (irq_error <= 0) {
-               if (irq_error != -EPROBE_DEFER)
-                       dev_err(&pdev->dev, "Failed to get IRQ error: %d\n",
-                               irq_error);
+       if (irq_error <= 0)
                return irq_error ? : -ENOENT;
-       }
 
        i2c_dev->wakeup_src = of_property_read_bool(pdev->dev.of_node,
                                                    "wakeup-source");