[media] rtl2830: carry pointer to I2C client for every function
authorAntti Palosaari <crope@iki.fi>
Tue, 9 Dec 2014 01:47:21 +0000 (22:47 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 19:51:08 +0000 (17:51 -0200)
commit1f153c4d88dd3e35900440608229c0d0335a83fb
tree1d21418e6c0f6c66608e1e53949f5bdce66bd550
parentf544f100ac5f62ef288940bdfd3421ba7a22789b
[media] rtl2830: carry pointer to I2C client for every function

As a I2C driver struct i2c_client is top level structure representing
the driver. Use it as parameter to carry all needed information for
each function in order to simplify things.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/rtl2830.c