mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
7274ec8bd7
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> |
||
---|---|---|
.. | ||
c2port | ||
eeprom | ||
hdpuftrs | ||
ibmasm | ||
sgi-gru | ||
sgi-xp | ||
atmel-ssc.c | ||
atmel_pwm.c | ||
atmel_tclib.c | ||
enclosure.c | ||
hpilo.c | ||
hpilo.h | ||
ics932s401.c | ||
ioc4.c | ||
isl29003.c | ||
Kconfig | ||
kgdbts.c | ||
lkdtm.c | ||
Makefile | ||
phantom.c | ||
tifm_7xx1.c | ||
tifm_core.c |