aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/busses/i2c-mpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c
index 851c3ed513d0..f7a81e999672 100644
--- a/drivers/i2c/busses/i2c-mpc.c
+++ b/drivers/i2c/busses/i2c-mpc.c
@@ -362,7 +362,7 @@ static int fsl_i2c_probe(struct platform_device *pdev)
362 362
363 fail_add: 363 fail_add:
364 if (i2c->irq != 0) 364 if (i2c->irq != 0)
365 free_irq(i2c->irq, NULL); 365 free_irq(i2c->irq, i2c);
366 fail_irq: 366 fail_irq:
367 iounmap(i2c->base); 367 iounmap(i2c->base);
368 fail_map: 368 fail_map: