aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index d0cfbb4cb964..db895fb22e65 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -607,7 +607,7 @@ static int i2c_imx_probe(struct platform_device *pdev)
607 irq = platform_get_irq(pdev, 0); 607 irq = platform_get_irq(pdev, 0);
608 if (irq < 0) { 608 if (irq < 0) {
609 dev_err(&pdev->dev, "can't get irq number\n"); 609 dev_err(&pdev->dev, "can't get irq number\n");
610 return -ENOENT; 610 return irq;
611 } 611 }
612 612
613 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 613 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);