[media] si2157: carry pointer to client instead of state in tuner_priv
authorAntti Palosaari <crope@iki.fi>
Sat, 6 Dec 2014 17:40:06 +0000 (14:40 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 29 Jan 2015 20:48:14 +0000 (18:48 -0200)
commit8fe51725d8e7794443799566edc4bfd384bf8825
tree0ae4c9e3158f7d9ed1f3bd1f9cac418e7319e564
parent7cbf5d7651ca7ab91b57d194f388d8886dbe4c38
[media] si2157: carry pointer to client instead of state in tuner_priv

Carry struct i2c_client pointer in tuner_priv. 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.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/si2157.c
drivers/media/tuners/si2157_priv.h