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/wm8739.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/wm8739.c')
-rw-r--r-- | drivers/media/video/wm8739.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/wm8739.c b/drivers/media/video/wm8739.c index 18535c4a0549..b572ce288e14 100644 --- a/drivers/media/video/wm8739.c +++ b/drivers/media/video/wm8739.c | |||
@@ -252,11 +252,6 @@ static int wm8739_log_status(struct v4l2_subdev *sd) | |||
252 | return 0; | 252 | return 0; |
253 | } | 253 | } |
254 | 254 | ||
255 | static int wm8739_command(struct i2c_client *client, unsigned cmd, void *arg) | ||
256 | { | ||
257 | return v4l2_subdev_command(i2c_get_clientdata(client), cmd, arg); | ||
258 | } | ||
259 | |||
260 | /* ----------------------------------------------------------------------- */ | 255 | /* ----------------------------------------------------------------------- */ |
261 | 256 | ||
262 | static const struct v4l2_subdev_core_ops wm8739_core_ops = { | 257 | static const struct v4l2_subdev_core_ops wm8739_core_ops = { |
@@ -343,7 +338,6 @@ MODULE_DEVICE_TABLE(i2c, wm8739_id); | |||
343 | 338 | ||
344 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { | 339 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { |
345 | .name = "wm8739", | 340 | .name = "wm8739", |
346 | .command = wm8739_command, | ||
347 | .probe = wm8739_probe, | 341 | .probe = wm8739_probe, |
348 | .remove = wm8739_remove, | 342 | .remove = wm8739_remove, |
349 | .id_table = wm8739_id, | 343 | .id_table = wm8739_id, |