projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
002cf63
)
i2c-mpc: Pass correct dev_id to free_irq on error path
author
Scott Wood
<scottwood@freescale.com>
Tue, 14 Aug 2007 16:37:14 +0000
(18:37 +0200)
committer
Jean Delvare
<khali@hyperion.delvare>
Tue, 14 Aug 2007 16:37:14 +0000
(18:37 +0200)
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-mpc.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-mpc.c
b/drivers/i2c/busses/i2c-mpc.c
index 851c3ed513d015e50b5c75c362a014dfa09c1c1d..f7a81e9996723cf4fcd8d7e0b2fd76884ccedd8f 100644
(file)
--- 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)
fail_add:
if (i2c->irq != 0)
- free_irq(i2c->irq,
NULL
);
+ free_irq(i2c->irq,
i2c
);
fail_irq:
iounmap(i2c->base);
fail_map: