aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/i2c/ths7303.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/i2c/ths7303.c b/drivers/media/i2c/ths7303.c
index 2e17abc77310..0a2dacbd7a63 100644
--- a/drivers/media/i2c/ths7303.c
+++ b/drivers/media/i2c/ths7303.c
@@ -38,7 +38,6 @@ struct ths7303_state {
38 struct v4l2_bt_timings bt; 38 struct v4l2_bt_timings bt;
39 int std_id; 39 int std_id;
40 int stream_on; 40 int stream_on;
41 int driver_data;
42}; 41};
43 42
44enum ths7303_filter_mode { 43enum ths7303_filter_mode {
@@ -355,9 +354,6 @@ static int ths7303_probe(struct i2c_client *client,
355 sd = &state->sd; 354 sd = &state->sd;
356 v4l2_i2c_subdev_init(sd, client, &ths7303_ops); 355 v4l2_i2c_subdev_init(sd, client, &ths7303_ops);
357 356
358 /* store the driver data to differntiate the chip */
359 state->driver_data = (int)id->driver_data;
360
361 /* set to default 480I_576I filter mode */ 357 /* set to default 480I_576I filter mode */
362 if (ths7303_setval(sd, THS7303_FILTER_MODE_480I_576I) < 0) { 358 if (ths7303_setval(sd, THS7303_FILTER_MODE_480I_576I) < 0) {
363 v4l_err(client, "Setting to 480I_576I filter mode failed!\n"); 359 v4l_err(client, "Setting to 480I_576I filter mode failed!\n");