Kevin Hilman 7274ec8bd7 memory_accessor: implement the new memory_accessor interface for I2C EEPROM
In the case of at24, the platform code registers a 'setup' callback with
the at24_platform_data.  When the at24 driver detects an EEPROM, it fills
out the read and write functions of the memory_accessor and calls the
setup callback passing the memory_accessor struct.  The platform code can
then use the read/write functions in the memory_accessor struct for
reading and writing the EEPROM.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-02 19:04:50 -07:00
..
2009-03-28 20:29:51 +00:00
2009-03-21 19:06:51 -07:00
2009-04-02 19:04:49 -07:00
2009-03-28 20:29:51 +00:00
2009-04-01 08:59:22 -07:00
2009-03-30 21:55:25 +10:30
2009-04-01 08:59:23 -07:00
2009-03-28 20:29:51 +00:00
2009-03-27 20:13:20 -04:00