summaryrefslogtreecommitdiff
path: root/drivers/video/i810/i810-i2c.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-01-09 20:53:03 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 08:01:44 -0800
commitc019c0ec97548d545c42961e960cbe2e8a6aabe9 (patch)
tree3a1eb5ba31af5633a7d3e7bb178562919e9509a6 /drivers/video/i810/i810-i2c.c
parentb8901b091db260b0f0101d6395ce5c6016835a47 (diff)
[PATCH] fbdev: i810fb: Driver cleanups
- remove redundant casts Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/i810/i810-i2c.c')
-rw-r--r--drivers/video/i810/i810-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/i810/i810-i2c.c b/drivers/video/i810/i810-i2c.c
index c61bad0da20f..13c17438fb8c 100644
--- a/drivers/video/i810/i810-i2c.c
+++ b/drivers/video/i810/i810-i2c.c
@@ -42,7 +42,7 @@
static void i810i2c_setscl(void *data, int state)
{
- struct i810fb_i2c_chan *chan = (struct i810fb_i2c_chan *)data;
+ struct i810fb_i2c_chan *chan = data;
struct i810fb_par *par = chan->par;
u8 __iomem *mmio = par->mmio_start_virtual;