diff options
author | Scott Wood <scottwood@freescale.com> | 2007-08-14 12:37:14 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-08-14 12:37:14 -0400 |
commit | 322454a65371477bed0eb1d189c50d781ebd7f85 (patch) | |
tree | d8ea0374b5f3f51033439d6aedd39aecccaf2141 /drivers/i2c/busses/i2c-mpc.c | |
parent | 002cf63191eb8b68b7fed48f014b87c456188acc (diff) |
i2c-mpc: Pass correct dev_id to free_irq on error path
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-mpc.c')
-rw-r--r-- | drivers/i2c/busses/i2c-mpc.c | 2 |
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: |