aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2008-05-28 00:01:04 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:07:43 -0400
commitbbf23af2b10926c0d489d74814d9744cd495c3bc (patch)
tree9c1e3a10a2946b2d86c626fd810c313042bb2e0c /drivers
parentb6b2d268445ad4f5fac495bbbae6d2922f0becd9 (diff)
V4L/DVB (7951): AU6610: remove useless identify_state
- remove useless identify_state - device is always warm Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-usb/au6610.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/drivers/media/dvb/dvb-usb/au6610.c b/drivers/media/dvb/dvb-usb/au6610.c
index b44a3c4c5450..a0895fba2e5f 100644
--- a/drivers/media/dvb/dvb-usb/au6610.c
+++ b/drivers/media/dvb/dvb-usb/au6610.c
@@ -115,15 +115,6 @@ static struct i2c_algorithm au6610_i2c_algo = {
115}; 115};
116 116
117/* Callbacks for DVB USB */ 117/* Callbacks for DVB USB */
118static int au6610_identify_state(struct usb_device *udev,
119 struct dvb_usb_device_properties *props,
120 struct dvb_usb_device_description **desc,
121 int *cold)
122{
123 *cold = 0;
124 return 0;
125}
126
127static struct zl10353_config au6610_zl10353_config = { 118static struct zl10353_config au6610_zl10353_config = {
128 .demod_address = 0x0f, 119 .demod_address = 0x0f,
129 .no_tuner = 1, 120 .no_tuner = 1,
@@ -191,7 +182,6 @@ static struct dvb_usb_device_properties au6610_properties = {
191 .caps = DVB_USB_IS_AN_I2C_ADAPTER, 182 .caps = DVB_USB_IS_AN_I2C_ADAPTER,
192 .usb_ctrl = DEVICE_SPECIFIC, 183 .usb_ctrl = DEVICE_SPECIFIC,
193 .size_of_priv = 0, 184 .size_of_priv = 0,
194 .identify_state = au6610_identify_state,
195 .num_adapters = 1, 185 .num_adapters = 1,
196 .adapter = { 186 .adapter = {
197 { 187 {
@@ -213,12 +203,13 @@ static struct dvb_usb_device_properties au6610_properties = {
213 } 203 }
214 }, 204 },
215 .i2c_algo = &au6610_i2c_algo, 205 .i2c_algo = &au6610_i2c_algo,
206
216 .num_device_descs = 1, 207 .num_device_descs = 1,
217 .devices = { 208 .devices = {
218 { 209 {
219 "Sigmatek DVB-110 DVB-T USB2.0", 210 .name = "Sigmatek DVB-110 DVB-T USB2.0",
220 { &au6610_table[0], NULL }, 211 .cold_ids = {NULL},
221 { NULL }, 212 .warm_ids = {&au6610_table[0], NULL},
222 }, 213 },
223 } 214 }
224}; 215};