ARM: PNX4008: Use i2c driver data for passing between internal functions
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Nov 2009 12:40:00 +0000 (12:40 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Feb 2010 17:32:41 +0000 (17:32 +0000)
commit81d6724a564fa5bd20b006eae0da4462d599bb92
treec50f1894690c36794b53e27a17be79a87a6656e8
parent9d7f73632c87ef1b6187eb539d1efd63c3cf0e36
ARM: PNX4008: Use i2c driver data for passing between internal functions

Since the drivers data now contains the i2c adapter structure, we can
pass around the drivers data between internal functions (which is what
they want) rather than using the i2c adapter structure and having an
additional pointer dereference each time.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/i2c/busses/i2c-pnx.c