From: Mauro Carvalho Chehab Date: Tue, 4 Sep 2007 00:24:52 +0000 (-0300) Subject: V4L/DVB (12793): tm6000: On some kernels, eeprom reading were generating a bug X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=88894cba79318fabc011a78094fe22ec953bfa97;p=deliverable%2Flinux.git V4L/DVB (12793): tm6000: On some kernels, eeprom reading were generating a bug Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/tm6000/tm6000-i2c.c b/drivers/staging/tm6000/tm6000-i2c.c index e9e63df186fc..48473bdabb76 100644 --- a/drivers/staging/tm6000/tm6000-i2c.c +++ b/drivers/staging/tm6000/tm6000-i2c.c @@ -333,12 +333,6 @@ static int attach_inform(struct i2c_client *client) client->driver->driver.name, client->addr, client->name); switch (client->addr<<1) { - case 0xa0: - tm6000_i2c_eeprom(dev, eedata, sizeof(eedata)-1); - eedata[sizeof(eedata)]='\0'; - - printk("Board string ID = %s\n",eedata); - return 0; case 0xb0: request_module("tvaudio"); return 0;