]> git.baikalelectronics.ru Git - kernel.git/commit
[media] saa7164: Remove useless struct i2c_algo_bit_data
authorEzequiel García <elezegarcia@gmail.com>
Wed, 27 Jun 2012 15:52:46 +0000 (12:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 22:52:22 +0000 (19:52 -0300)
commit014251b6a6198c288267cb2ed5e683491194af2d
treedc39703f3cef413c802969ef0ab07dce59fad7ec
parent36b4c2ccf6c74671b215ba0d7a40a633ad1fc325
[media] saa7164: 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/saa7164/saa7164-i2c.c
drivers/media/video/saa7164/saa7164.h