summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/m52790.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-29 14:19:09 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2009-03-29 14:19:09 +0200
commitfbb7db73536826892676fe88068fa7f508744923 (patch)
tree1f45b78aa7d89ca70fe6023e5344821585cd717a /linux/drivers/media/video/m52790.c
parent9e598e510ff2438c06c4c60c910becea4838294b (diff)
downloadmediapointer-dvb-s2-fbb7db73536826892676fe88068fa7f508744923.tar.gz
mediapointer-dvb-s2-fbb7db73536826892676fe88068fa7f508744923.tar.bz2
v4l2: remove v4l2_subdev_command calls where they are no longer needed.
From: Hans Verkuil <hverkuil@xs4all.nl> Several i2c drivers still used v4l2_subdev_command, even though they were converted to v4l2_subdev. Remove those unused .command callbacks. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/m52790.c')
-rw-r--r--linux/drivers/media/video/m52790.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/video/m52790.c b/linux/drivers/media/video/m52790.c
index 982ab4268..203a60348 100644
--- a/linux/drivers/media/video/m52790.c
+++ b/linux/drivers/media/video/m52790.c
@@ -138,11 +138,6 @@ static int m52790_log_status(struct v4l2_subdev *sd)
return 0;
}
-static int m52790_command(struct i2c_client *client, unsigned cmd, void *arg)
-{
- return v4l2_subdev_command(i2c_get_clientdata(client), cmd, arg);
-}
-
/* ----------------------------------------------------------------------- */
static const struct v4l2_subdev_core_ops m52790_core_ops = {
@@ -222,7 +217,6 @@ MODULE_DEVICE_TABLE(i2c, m52790_id);
#endif
static struct v4l2_i2c_driver_data v4l2_i2c_data = {
.name = "m52790",
- .command = m52790_command,
.probe = m52790_probe,
.remove = m52790_remove,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)