[media] si2168: carry pointer to client instead of state
authorAntti Palosaari <crope@iki.fi>
Tue, 25 Nov 2014 20:31:43 +0000 (17:31 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 29 Jan 2015 20:39:49 +0000 (18:39 -0200)
commit6307b560800fd92b915a851186653317460039ad
tree12acef0b3f29586a0b37f1b5fd90752c7a132871
parentbd01c7666cfebfee1b10e132a4f8df0fc82b9d48
[media] si2168: carry pointer to client instead of state

Carry struct i2c_client pointer inside struct dvb_frontend private
pointer. This driver is I2C driver, which is represented as a
struct i2c_client, so better to carry this top level structure for
each routine in order to unify things. This allows further
simplification.

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