[media] cx231xx: Remove useless struct i2c_algo_bit_data
authorEzequiel García <elezegarcia@gmail.com>
Wed, 27 Jun 2012 15:52:48 +0000 (12:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 22:52:52 +0000 (19:52 -0300)
commit272863540371cd86a7f05d6fef7db7868ea79a2e
tree454e0c46a9ceaacb78ba4d11136032070e7de8c3
parentc410d09bf3c8019d50d5ce7f1eb26e1b747835f7
[media] cx231xx: 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>
drivers/media/video/cx231xx/cx231xx-i2c.c
drivers/media/video/cx231xx/cx231xx.h