aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa717x.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/saa717x.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/saa717x.c')
-rw-r--r--drivers/media/video/saa717x.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/media/video/saa717x.c b/drivers/media/video/saa717x.c
index 5ad7a77699de..25bf2303a6b5 100644
--- a/drivers/media/video/saa717x.c
+++ b/drivers/media/video/saa717x.c
@@ -1380,11 +1380,6 @@ static int saa717x_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt)
1380 return 0; 1380 return 0;
1381} 1381}
1382 1382
1383static int saa717x_command(struct i2c_client *client, unsigned cmd, void *arg)
1384{
1385 return v4l2_subdev_command(i2c_get_clientdata(client), cmd, arg);
1386}
1387
1388/* ----------------------------------------------------------------------- */ 1383/* ----------------------------------------------------------------------- */
1389 1384
1390static const struct v4l2_subdev_core_ops saa717x_core_ops = { 1385static const struct v4l2_subdev_core_ops saa717x_core_ops = {
@@ -1528,9 +1523,7 @@ MODULE_DEVICE_TABLE(i2c, saa717x_id);
1528 1523
1529static struct v4l2_i2c_driver_data v4l2_i2c_data = { 1524static struct v4l2_i2c_driver_data v4l2_i2c_data = {
1530 .name = "saa717x", 1525 .name = "saa717x",
1531 .command = saa717x_command,
1532 .probe = saa717x_probe, 1526 .probe = saa717x_probe,
1533 .remove = saa717x_remove, 1527 .remove = saa717x_remove,
1534 .legacy_class = I2C_CLASS_TV_ANALOG | I2C_CLASS_TV_DIGITAL,
1535 .id_table = saa717x_id, 1528 .id_table = saa717x_id,
1536}; 1529};