summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/si2157_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-12-06 18:40:06 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-01-29 21:48:14 +0100
commit8fe51725d8e7794443799566edc4bfd384bf8825 (patch)
tree0ae4c9e3158f7d9ed1f3bd1f9cac418e7319e564 /drivers/media/tuners/si2157_priv.h
parent[media] si2157: simplify si2157_cmd_execute() error path (diff)
downloadlinux-8fe51725d8e7794443799566edc4bfd384bf8825.tar.xz
linux-8fe51725d8e7794443799566edc4bfd384bf8825.zip
[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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/tuners/si2157_priv.h b/drivers/media/tuners/si2157_priv.h
index 8f6cfc00ddac..7aa53bce5593 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;