diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-29 13:29:30 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 19:43:47 +0400 |
commit | aef822074b88397968560b650a9f4bdbf973e2b3 (patch) | |
tree | 92709c6c57fdec157c93a3a86265f024346a8cb6 /drivers/media/video/saa6588.c | |
parent | 2983baf8d6c1a564b6bbcc3e142f2e9408d9cbbe (diff) | |
download | linux-aef822074b88397968560b650a9f4bdbf973e2b3.tar.xz |
V4L/DVB (11283): saa6588: remove legacy code.
saa6588 is now only used through v4l2_subdev, so we can remove the old legacy
code.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa6588.c')
-rw-r--r-- | drivers/media/video/saa6588.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/media/video/saa6588.c b/drivers/media/video/saa6588.c index 2ce758c1ebb1..c25e81af5ce0 100644 --- a/drivers/media/video/saa6588.c +++ b/drivers/media/video/saa6588.c @@ -34,16 +34,8 @@ #include <media/rds.h> #include <media/v4l2-device.h> #include <media/v4l2-chip-ident.h> -#include <media/v4l2-i2c-drv-legacy.h> +#include <media/v4l2-i2c-drv.h> -/* Addresses to scan */ -static unsigned short normal_i2c[] = { - 0x20 >> 1, - 0x22 >> 1, - I2C_CLIENT_END, -}; - -I2C_CLIENT_INSMOD; /* insmod options */ static unsigned int debug; @@ -431,11 +423,6 @@ static int saa6588_g_chip_ident(struct v4l2_subdev *sd, struct v4l2_dbg_chip_ide return v4l2_chip_ident_i2c_client(client, chip, V4L2_IDENT_SAA6588, 0); } -static int saa6588_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 saa6588_core_ops = { @@ -511,7 +498,6 @@ MODULE_DEVICE_TABLE(i2c, saa6588_id); static struct v4l2_i2c_driver_data v4l2_i2c_data = { .name = "saa6588", - .command = saa6588_command, .probe = saa6588_probe, .remove = saa6588_remove, .id_table = saa6588_id, |