diff options
author | Antti Palosaari <crope@iki.fi> | 2012-12-09 10:33:04 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-01-06 06:07:28 -0500 |
commit | 3a98477200b44328e50a5c0830f92fd5cdc1ea9b (patch) | |
tree | 94e0c29fa74e93e15deb9e51b4772cda14651edb /drivers/media/tuners/fc0012-priv.h | |
parent | 0bb3d8ac87188a106f98e5d257f56f3ffe066147 (diff) |
[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.h | 3 |
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 @@ | |||
33 | struct fc0012_priv { | 33 | struct fc0012_priv { |
34 | struct i2c_adapter *i2c; | 34 | struct i2c_adapter *i2c; |
35 | const struct fc0012_config *cfg; | 35 | const struct fc0012_config *cfg; |
36 | u8 addr; | ||
37 | u8 dual_master; | ||
38 | u8 xtal_freq; | ||
39 | 36 | ||
40 | u32 frequency; | 37 | u32 frequency; |
41 | u32 bandwidth; | 38 | u32 bandwidth; |