Commit 7366d36c authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] ppc annotations: i2c-mpc

Usual iomem annotations and NULL noise removal.
Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2c6e7599
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
#define CSR_RXAK 0x01 #define CSR_RXAK 0x01
struct mpc_i2c { struct mpc_i2c {
char *base; void __iomem *base;
u32 interrupt; u32 interrupt;
wait_queue_head_t queue; wait_queue_head_t queue;
struct i2c_adapter adap; struct i2c_adapter adap;
...@@ -444,7 +444,7 @@ static int fsl_i2c_probe(struct device *device) ...@@ -444,7 +444,7 @@ static int fsl_i2c_probe(struct device *device)
fail_add: fail_add:
if (i2c->irq != 0) if (i2c->irq != 0)
free_irq(i2c->irq, 0); free_irq(i2c->irq, NULL);
fail_irq: fail_irq:
iounmap(i2c->base); iounmap(i2c->base);
fail_map: fail_map:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment