]> git.karo-electronics.de Git - linux-beck.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)
commit6fe31039d40d73968fe75c543d6b623bcbf5ecb9
treedc39703f3cef413c802969ef0ab07dce59fad7ec
parenta1367f1b260d29e9b9fb20d8e2f39f1e74fa6c3b
[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