Commit 833e9a1a authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Linus Torvalds

[PATCH] v4l: TV EEPROM

- Eliminated unused code.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent af9eeed2
...@@ -400,14 +400,6 @@ void tveeprom_hauppauge_analog(struct tveeprom *tvee, unsigned char *eeprom_data ...@@ -400,14 +400,6 @@ void tveeprom_hauppauge_analog(struct tveeprom *tvee, unsigned char *eeprom_data
} }
} }
#if 0
if (t_format < sizeof(hauppauge_tuner_fmt)/sizeof(struct HAUPPAUGE_TUNER_FMT)) {
tvee->tuner_formats = hauppauge_tuner_fmt[t_format].id;
t_fmt_name = hauppauge_tuner_fmt[t_format].name;
} else {
t_fmt_name = "<unknown>";
}
#endif
TVEEPROM_KERN_INFO("Hauppauge: model = %d, rev = %s, serial# = %d\n", TVEEPROM_KERN_INFO("Hauppauge: model = %d, rev = %s, serial# = %d\n",
tvee->model, tvee->model,
...@@ -482,6 +474,7 @@ static unsigned short normal_i2c[] = { ...@@ -482,6 +474,7 @@ static unsigned short normal_i2c[] = {
0xa0 >> 1, 0xa0 >> 1,
I2C_CLIENT_END, I2C_CLIENT_END,
}; };
I2C_CLIENT_INSMOD; I2C_CLIENT_INSMOD;
struct i2c_driver i2c_driver_tveeprom; struct i2c_driver i2c_driver_tveeprom;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment