diff options
author | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-15 19:05:51 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:28 -0400 |
commit | baadd7925c98968c94e9657272d91957a3ad0a41 (patch) | |
tree | 821f3adb3b2b2d659f28e0ed022ed9cdaaf55499 /drivers/media/dvb | |
parent | 2689d3dcc6c75c0b4a05b66330db85df2c036d3e (diff) |
V4L/DVB (11089): au8522: finish conversion to v4l2_device/subdev
Per Hans Verkuil <hverkuil@xs4all.nl> instruction, remove the au8522_command
and replace v4l2-i2c-drv-legacy.h with v4l2-i2c-drv.h
Thanks to Hans Verkuil <hverkuil@xs4all.nl> for reviewing the au8522 analog
support.
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/frontends/au8522_decoder.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/media/dvb/frontends/au8522_decoder.c b/drivers/media/dvb/frontends/au8522_decoder.c index 2ad84c236ec7..c9d0eecfbe3c 100644 --- a/drivers/media/dvb/frontends/au8522_decoder.c +++ b/drivers/media/dvb/frontends/au8522_decoder.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/delay.h> | 37 | #include <linux/delay.h> |
38 | #include <media/v4l2-common.h> | 38 | #include <media/v4l2-common.h> |
39 | #include <media/v4l2-chip-ident.h> | 39 | #include <media/v4l2-chip-ident.h> |
40 | #include <media/v4l2-i2c-drv-legacy.h> | 40 | #include <media/v4l2-i2c-drv.h> |
41 | #include <media/v4l2-device.h> | 41 | #include <media/v4l2-device.h> |
42 | #include "au8522.h" | 42 | #include "au8522.h" |
43 | #include "au8522_priv.h" | 43 | #include "au8522_priv.h" |
@@ -725,11 +725,6 @@ static int au8522_log_status(struct v4l2_subdev *sd) | |||
725 | return 0; | 725 | return 0; |
726 | } | 726 | } |
727 | 727 | ||
728 | static int au8522_command(struct i2c_client *client, unsigned cmd, void *arg) | ||
729 | { | ||
730 | return v4l2_subdev_command(i2c_get_clientdata(client), cmd, arg); | ||
731 | } | ||
732 | |||
733 | /* ----------------------------------------------------------------------- */ | 728 | /* ----------------------------------------------------------------------- */ |
734 | 729 | ||
735 | static const struct v4l2_subdev_core_ops au8522_core_ops = { | 730 | static const struct v4l2_subdev_core_ops au8522_core_ops = { |
@@ -838,7 +833,6 @@ MODULE_DEVICE_TABLE(i2c, au8522_id); | |||
838 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { | 833 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { |
839 | .name = "au8522", | 834 | .name = "au8522", |
840 | .driverid = I2C_DRIVERID_AU8522, | 835 | .driverid = I2C_DRIVERID_AU8522, |
841 | .command = au8522_command, | ||
842 | .probe = au8522_probe, | 836 | .probe = au8522_probe, |
843 | .remove = au8522_remove, | 837 | .remove = au8522_remove, |
844 | .id_table = au8522_id, | 838 | .id_table = au8522_id, |