Skip to content

Commit

Permalink
[PATCH] ppc annotations: i2c-mpc
Browse files Browse the repository at this point in the history
Usual iomem annotations and NULL noise removal.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Apr 26, 2005
1 parent 2c6e759 commit 7366d36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/i2c/busses/i2c-mpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
#define CSR_RXAK 0x01

struct mpc_i2c {
char *base;
void __iomem *base;
u32 interrupt;
wait_queue_head_t queue;
struct i2c_adapter adap;
Expand Down Expand Up @@ -444,7 +444,7 @@ static int fsl_i2c_probe(struct device *device)

fail_add:
if (i2c->irq != 0)
free_irq(i2c->irq, 0);
free_irq(i2c->irq, NULL);
fail_irq:
iounmap(i2c->base);
fail_map:
Expand Down

0 comments on commit 7366d36

Please sign in to comment.