diff options
author | Mark A. Greer <mgreer@mvista.com> | 2009-04-15 15:41:15 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-05-28 18:17:46 -0400 |
commit | c97909fcf1611645f0fe235b332e39623588d84c (patch) | |
tree | 5d6e161d65878d1e86cc6701e5fe7048bc0dd526 /arch/arm/mach-davinci/board-dm646x-evm.c | |
parent | 972412b648dcf0c4303dca7e515d5c24ce3cd1d5 (diff) |
davinci: Remove unused i2c eeprom_read/write routines
The dm644x and dm646x board files have i2c eeprom read and
write routines but they are not used so remove them.
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-dm646x-evm.c')
-rw-r--r-- | arch/arm/mach-davinci/board-dm646x-evm.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c index 0de0637aed5e..44e2ab665af5 100644 --- a/arch/arm/mach-davinci/board-dm646x-evm.c +++ b/arch/arm/mach-davinci/board-dm646x-evm.c | |||
@@ -222,22 +222,6 @@ static struct at24_platform_data eeprom_info = { | |||
222 | .setup = at24_setup, | 222 | .setup = at24_setup, |
223 | }; | 223 | }; |
224 | 224 | ||
225 | int dm646xevm_eeprom_read(void *buf, off_t off, size_t count) | ||
226 | { | ||
227 | if (at24_mem_acc) | ||
228 | return at24_mem_acc->read(at24_mem_acc, buf, off, count); | ||
229 | return -ENODEV; | ||
230 | } | ||
231 | EXPORT_SYMBOL(dm646xevm_eeprom_read); | ||
232 | |||
233 | int dm646xevm_eeprom_write(void *buf, off_t off, size_t count) | ||
234 | { | ||
235 | if (at24_mem_acc) | ||
236 | return at24_mem_acc->write(at24_mem_acc, buf, off, count); | ||
237 | return -ENODEV; | ||
238 | } | ||
239 | EXPORT_SYMBOL(dm646xevm_eeprom_write); | ||
240 | |||
241 | static struct i2c_board_info __initdata i2c_info[] = { | 225 | static struct i2c_board_info __initdata i2c_info[] = { |
242 | { | 226 | { |
243 | I2C_BOARD_INFO("24c256", 0x50), | 227 | I2C_BOARD_INFO("24c256", 0x50), |