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/tlv320aic23b.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/tlv320aic23b.c')
-rw-r--r-- | drivers/media/video/tlv320aic23b.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/tlv320aic23b.c b/drivers/media/video/tlv320aic23b.c index b8cc7d39a90a..07789c64814c 100644 --- a/drivers/media/video/tlv320aic23b.c +++ b/drivers/media/video/tlv320aic23b.c | |||
@@ -118,11 +118,6 @@ static int tlv320aic23b_log_status(struct v4l2_subdev *sd) | |||
118 | return 0; | 118 | return 0; |
119 | } | 119 | } |
120 | 120 | ||
121 | static int tlv320aic23b_command(struct i2c_client *client, unsigned cmd, void *arg) | ||
122 | { | ||
123 | return v4l2_subdev_command(i2c_get_clientdata(client), cmd, arg); | ||
124 | } | ||
125 | |||
126 | /* ----------------------------------------------------------------------- */ | 121 | /* ----------------------------------------------------------------------- */ |
127 | 122 | ||
128 | static const struct v4l2_subdev_core_ops tlv320aic23b_core_ops = { | 123 | static const struct v4l2_subdev_core_ops tlv320aic23b_core_ops = { |
@@ -205,7 +200,6 @@ MODULE_DEVICE_TABLE(i2c, tlv320aic23b_id); | |||
205 | 200 | ||
206 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { | 201 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { |
207 | .name = "tlv320aic23b", | 202 | .name = "tlv320aic23b", |
208 | .command = tlv320aic23b_command, | ||
209 | .probe = tlv320aic23b_probe, | 203 | .probe = tlv320aic23b_probe, |
210 | .remove = tlv320aic23b_remove, | 204 | .remove = tlv320aic23b_remove, |
211 | .id_table = tlv320aic23b_id, | 205 | .id_table = tlv320aic23b_id, |