android_kernel_xiaomi_sm8350/include/linux/i2c
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
..
at24.h memory_accessor: implement the new memory_accessor interface for I2C EEPROM 2009-04-02 19:04:50 -07:00
dm355evm_msp.h mfd: dm355evm msp430 driver 2009-01-04 12:17:43 +01:00
max732x.h
pca953x.h
pcf857x.h
tps65010.h
tsc2007.h
twl4030.h twl4030-gpio: cleanup debounce 2009-01-06 15:59:25 -08:00