aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/vp27smpx.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/vp27smpx.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/vp27smpx.c')
-rw-r--r--drivers/media/video/vp27smpx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/vp27smpx.c b/drivers/media/video/vp27smpx.c
index 9a590a91d7de..42e23a4fa607 100644
--- a/drivers/media/video/vp27smpx.c
+++ b/drivers/media/video/vp27smpx.c
@@ -129,11 +129,6 @@ static int vp27smpx_log_status(struct v4l2_subdev *sd)
129 return 0; 129 return 0;
130} 130}
131 131
132static int vp27smpx_command(struct i2c_client *client, unsigned cmd, void *arg)
133{
134 return v4l2_subdev_command(i2c_get_clientdata(client), cmd, arg);
135}
136
137/* ----------------------------------------------------------------------- */ 132/* ----------------------------------------------------------------------- */
138 133
139static const struct v4l2_subdev_core_ops vp27smpx_core_ops = { 134static const struct v4l2_subdev_core_ops vp27smpx_core_ops = {
@@ -206,7 +201,6 @@ MODULE_DEVICE_TABLE(i2c, vp27smpx_id);
206 201
207static struct v4l2_i2c_driver_data v4l2_i2c_data = { 202static struct v4l2_i2c_driver_data v4l2_i2c_data = {
208 .name = "vp27smpx", 203 .name = "vp27smpx",
209 .command = vp27smpx_command,
210 .probe = vp27smpx_probe, 204 .probe = vp27smpx_probe,
211 .remove = vp27smpx_remove, 205 .remove = vp27smpx_remove,
212 .id_table = vp27smpx_id, 206 .id_table = vp27smpx_id,