]> err.no Git - linux-2.6/commit
[PATCH] i810fb: Cleanup I2C code
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 7 Nov 2005 09:00:50 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:52 +0000 (07:53 -0800)
commit5fab851ea15206cc375582ad0db79f7827325098
treebc7e3dd1e15d147c1aa482df69f433ff37246641
parent8a0934f2969df4cdea81cf48fde4c8626b32325d
[PATCH] i810fb: Cleanup I2C code

- The functions for reading the 1st and 2nd bus are essentially the same,
  except for the register.  Consolidate them all.

- According to Nicolas Boichat, there is an undocumented 3rd i2c bus for
  attaching daughter cards.  Add support for this.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/i810/i810-i2c.c
drivers/video/i810/i810.h
drivers/video/i810/i810_main.c
drivers/video/i810/i810_regs.h