diff options
author | Ezequiel GarcĂa <elezegarcia@gmail.com> | 2012-06-27 17:52:47 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-31 00:52:39 +0200 |
commit | c410d09bf3c8019d50d5ce7f1eb26e1b747835f7 (patch) | |
tree | b9082c40784c4963f96d7aa4c56928d4ef5ec0e8 /drivers/media/video/cx23885/cx23885.h | |
parent | [media] saa7164: Remove useless struct i2c_algo_bit_data (diff) | |
download | linux-c410d09bf3c8019d50d5ce7f1eb26e1b747835f7.tar.xz linux-c410d09bf3c8019d50d5ce7f1eb26e1b747835f7.zip |
[media] cx23885: Remove useless struct i2c_algo_bit_data
The field 'struct i2c_algo_bit_data i2c_algo' is wrongly confused with
struct i2c_algorithm. Moreover, i2c_algo field is not used since
i2c is registered using i2c_add_adpater() and not i2c_bit_add_bus().
Therefore, it's safe to remove it.
Tested by compilation only.
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885.h')
-rw-r--r-- | drivers/media/video/cx23885/cx23885.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885.h b/drivers/media/video/cx23885/cx23885.h index 13c37ec07ae7..5d560c747e09 100644 --- a/drivers/media/video/cx23885/cx23885.h +++ b/drivers/media/video/cx23885/cx23885.h @@ -21,7 +21,6 @@ #include <linux/pci.h> #include <linux/i2c.h> -#include <linux/i2c-algo-bit.h> #include <linux/kdev_t.h> #include <linux/slab.h> @@ -247,7 +246,6 @@ struct cx23885_i2c { /* i2c i/o */ struct i2c_adapter i2c_adap; - struct i2c_algo_bit_data i2c_algo; struct i2c_client i2c_client; u32 i2c_rc; |