]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit5405b3ad3f8346d5c5f5b52303a6cce05c1f76b0
tree454e0c46a9ceaacb78ba4d11136032070e7de8c3
parentee92dc16ec9721a7fe138c2022883b7900931765
[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