summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/fc0012-priv.h
diff options
context:
space:
mode:
authorAntti Palosaari2012-12-09 16:33:04 +0100
committerMauro Carvalho Chehab2013-01-06 12:07:28 +0100
commit3a98477200b44328e50a5c0830f92fd5cdc1ea9b (patch)
tree94e0c29fa74e93e15deb9e51b4772cda14651edb /drivers/media/tuners/fc0012-priv.h
parent[media] af9035: add support for fc0012 dual tuner configuration (diff)
downloadkernel-qcow2-linux-3a98477200b44328e50a5c0830f92fd5cdc1ea9b.tar.gz
kernel-qcow2-linux-3a98477200b44328e50a5c0830f92fd5cdc1ea9b.tar.xz
kernel-qcow2-linux-3a98477200b44328e50a5c0830f92fd5cdc1ea9b.zip
[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 1195ee9b9cf7..3b98bf971fb3 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;