diff options
author | Antti Palosaari <crope@iki.fi> | 2014-12-06 14:40:06 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-01-29 18:48:14 -0200 |
commit | 8fe51725d8e7794443799566edc4bfd384bf8825 (patch) | |
tree | 0ae4c9e3158f7d9ed1f3bd1f9cac418e7319e564 /drivers/media/tuners/si2157_priv.h | |
parent | 7cbf5d7651ca7ab91b57d194f388d8886dbe4c38 (diff) | |
download | op-kernel-dev-8fe51725d8e7794443799566edc4bfd384bf8825.zip op-kernel-dev-8fe51725d8e7794443799566edc4bfd384bf8825.tar.gz |
[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>
Diffstat (limited to 'drivers/media/tuners/si2157_priv.h')
-rw-r--r-- | drivers/media/tuners/si2157_priv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/tuners/si2157_priv.h b/drivers/media/tuners/si2157_priv.h index 8f6cfc0..7aa53bc 100644 --- a/drivers/media/tuners/si2157_priv.h +++ b/drivers/media/tuners/si2157_priv.h @@ -23,7 +23,6 @@ /* state struct */ struct si2157_dev { struct mutex i2c_mutex; - struct i2c_client *client; struct dvb_frontend *fe; bool active; bool fw_loaded; |