提交 7366d36c 编写于 作者: A Al Viro 提交者: Linus Torvalds

[PATCH] ppc annotations: i2c-mpc

Usual iomem annotations and NULL noise removal.
Signed-off-by: NAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 2c6e7599
......@@ -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;
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册