aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/upd64031a.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-29 08:19:09 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:49 -0400
commita0d1251da012594381165e36590312009693bf49 (patch)
treeb5f82e006f7d3d43f9779020964523749bbf6a42 /drivers/media/video/upd64031a.c
parent267ea2a9dc53eba8a314db74c169223d7c775145 (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/upd64031a.c')
-rw-r--r--drivers/media/video/upd64031a.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/upd64031a.c b/drivers/media/video/upd64031a.c
index 5b2c4399027c..c0ac651bb358 100644
--- a/drivers/media/video/upd64031a.c
+++ b/drivers/media/video/upd64031a.c
@@ -187,11 +187,6 @@ static int upd64031a_s_register(struct v4l2_subdev *sd, struct v4l2_dbg_register
187} 187}
188#endif 188#endif
189 189
190static int upd64031a_command(struct i2c_client *client, unsigned cmd, void *arg)
191{
192 return v4l2_subdev_command(i2c_get_clientdata(client), cmd, arg);
193}
194
195/* ----------------------------------------------------------------------- */ 190/* ----------------------------------------------------------------------- */
196 191
197static const struct v4l2_subdev_core_ops upd64031a_core_ops = { 192static const struct v4l2_subdev_core_ops upd64031a_core_ops = {
@@ -267,7 +262,6 @@ MODULE_DEVICE_TABLE(i2c, upd64031a_id);
267 262
268static struct v4l2_i2c_driver_data v4l2_i2c_data = { 263static struct v4l2_i2c_driver_data v4l2_i2c_data = {
269 .name = "upd64031a", 264 .name = "upd64031a",
270 .command = upd64031a_command,
271 .probe = upd64031a_probe, 265 .probe = upd64031a_probe,
272 .remove = upd64031a_remove, 266 .remove = upd64031a_remove,
273 .id_table = upd64031a_id, 267 .id_table = upd64031a_id,