Skip to content

Commit

Permalink
davinci: Remove unused i2c eeprom_read/write routines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark A. Greer authored and Kevin Hilman committed May 28, 2009
1 parent 972412b commit c97909f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
16 changes: 0 additions & 16 deletions arch/arm/mach-davinci/board-dm646x-evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,22 +222,6 @@ static struct at24_platform_data eeprom_info = {
.setup = at24_setup,
};

int dm646xevm_eeprom_read(void *buf, off_t off, size_t count)
{
if (at24_mem_acc)
return at24_mem_acc->read(at24_mem_acc, buf, off, count);
return -ENODEV;
}
EXPORT_SYMBOL(dm646xevm_eeprom_read);

int dm646xevm_eeprom_write(void *buf, off_t off, size_t count)
{
if (at24_mem_acc)
return at24_mem_acc->write(at24_mem_acc, buf, off, count);
return -ENODEV;
}
EXPORT_SYMBOL(dm646xevm_eeprom_write);

static struct i2c_board_info __initdata i2c_info[] = {
{
I2C_BOARD_INFO("24c256", 0x50),
Expand Down
20 changes: 0 additions & 20 deletions arch/arm/mach-davinci/include/mach/board-dm6446evm.h

This file was deleted.

0 comments on commit c97909f

Please sign in to comment.