i2c-iop3xx: add iomem annotation
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 29 Nov 2010 10:33:39 +0000 (12:33 +0200)
committerBen Dooks <ben-linux@fluff.org>
Tue, 4 Jan 2011 00:53:37 +0000 (00:53 +0000)
commit747fcc91cb5bade1f681b3a8d0e6d4f697d865fd
tree53da819407c6f1e8ab7739c500da1b0fda1480f7
parent03ed6a3aa600c48593c3984812fda2d5945ddb46
i2c-iop3xx: add iomem annotation

Eliminate unnecessary casts and the following sparse warnings:

drivers/i2c/busses/i2c-iop3xx.c:65:9: warning: incorrect type in argument 1 (different base types)
drivers/i2c/busses/i2c-iop3xx.c:65:9:    expected void const volatile [noderef] <asn:2>*<noident>
drivers/i2c/busses/i2c-iop3xx.c:65:9:    got unsigned int

[ the previous warning is repeated 18 times ]

drivers/i2c/busses/i2c-iop3xx.c:456:33: warning: cast removes address space of expression

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-iop3xx.c
drivers/i2c/busses/i2c-iop3xx.h