summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/fc0012-priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-12-09 12:33:04 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-01-06 09:07:28 -0200
commit3a98477200b44328e50a5c0830f92fd5cdc1ea9b (patch)
tree94e0c29fa74e93e15deb9e51b4772cda14651edb /drivers/media/tuners/fc0012-priv.h
parent0bb3d8ac87188a106f98e5d257f56f3ffe066147 (diff)
downloadop-kernel-dev-3a98477200b44328e50a5c0830f92fd5cdc1ea9b.zip
op-kernel-dev-3a98477200b44328e50a5c0830f92fd5cdc1ea9b.tar.gz
[media] fc0012: use config directly from the config struct
No need to copy config to the driver state. Those are coming from the const struct and could be used directly. Signed-off-by: Antti Palosaari <crope@iki.fi> Acked-by: Hans-Frieder Vogt <hfvogt@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/tuners/fc0012-priv.h')
-rw-r--r--drivers/media/tuners/fc0012-priv.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/tuners/fc0012-priv.h b/drivers/media/tuners/fc0012-priv.h
index 1195ee9..3b98bf9 100644
--- a/drivers/media/tuners/fc0012-priv.h
+++ b/drivers/media/tuners/fc0012-priv.h
@@ -33,9 +33,6 @@
struct fc0012_priv {
struct i2c_adapter *i2c;
const struct fc0012_config *cfg;
- u8 addr;
- u8 dual_master;
- u8 xtal_freq;
u32 frequency;
u32 bandwidth;
OpenPOWER on IntegriCloud