diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-29 08:19:09 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:49 -0400 |
commit | a0d1251da012594381165e36590312009693bf49 (patch) | |
tree | b5f82e006f7d3d43f9779020964523749bbf6a42 /drivers/media/video/m52790.c | |
parent | 267ea2a9dc53eba8a314db74c169223d7c775145 (diff) |
V4L/DVB (11304): v4l2: remove v4l2_subdev_command calls where they are no longer needed.
Several i2c drivers still used v4l2_subdev_command, even though they were
converted to v4l2_subdev. Remove those unused .command callbacks.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/m52790.c')
-rw-r--r-- | drivers/media/video/m52790.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/m52790.c b/drivers/media/video/m52790.c index 41988072b973..1f340fefc49d 100644 --- a/drivers/media/video/m52790.c +++ b/drivers/media/video/m52790.c | |||
@@ -132,11 +132,6 @@ static int m52790_log_status(struct v4l2_subdev *sd) | |||
132 | return 0; | 132 | return 0; |
133 | } | 133 | } |
134 | 134 | ||
135 | static int m52790_command(struct i2c_client *client, unsigned cmd, void *arg) | ||
136 | { | ||
137 | return v4l2_subdev_command(i2c_get_clientdata(client), cmd, arg); | ||
138 | } | ||
139 | |||
140 | /* ----------------------------------------------------------------------- */ | 135 | /* ----------------------------------------------------------------------- */ |
141 | 136 | ||
142 | static const struct v4l2_subdev_core_ops m52790_core_ops = { | 137 | static const struct v4l2_subdev_core_ops m52790_core_ops = { |
@@ -210,7 +205,6 @@ MODULE_DEVICE_TABLE(i2c, m52790_id); | |||
210 | 205 | ||
211 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { | 206 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { |
212 | .name = "m52790", | 207 | .name = "m52790", |
213 | .command = m52790_command, | ||
214 | .probe = m52790_probe, | 208 | .probe = m52790_probe, |
215 | .remove = m52790_remove, | 209 | .remove = m52790_remove, |
216 | .id_table = m52790_id, | 210 | .id_table = m52790_id, |