summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2011-12-26 13:41:14 +0100
committerMauro Carvalho Chehab2011-12-31 12:17:18 +0100
commitaac865f7c92990f2db17cfe9e9ef89a8706253f7 (patch)
tree29b947f70dc1f9947fb388a978e65af5a0ea31cd /drivers/media/video/em28xx
parent[media] zl10353: convert set_fontend to use DVBv5 parameters (diff)
downloadkernel-qcow2-linux-aac865f7c92990f2db17cfe9e9ef89a8706253f7.tar.gz
kernel-qcow2-linux-aac865f7c92990f2db17cfe9e9ef89a8706253f7.tar.xz
kernel-qcow2-linux-aac865f7c92990f2db17cfe9e9ef89a8706253f7.zip
[media] em28xx-dvb: don't initialize drx-d non-used fields with zero
There's no need to initialize unused fields with zero, as Kernel does it automatically. Removing the initialization makes the code cleaner. This also allows the removal of the unused pll_set callback. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r--drivers/media/video/em28xx/em28xx-dvb.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/media/video/em28xx/em28xx-dvb.c b/drivers/media/video/em28xx/em28xx-dvb.c
index b0e5cbe1b40f..1194631dfb73 100644
--- a/drivers/media/video/em28xx/em28xx-dvb.c
+++ b/drivers/media/video/em28xx/em28xx-dvb.c
@@ -303,10 +303,12 @@ static struct zl10353_config em28xx_zl10353_xc3028_no_i2c_gate = {
};
static struct drxd_config em28xx_drxd = {
- .index = 0, .demod_address = 0x70, .demod_revision = 0xa2,
- .demoda_address = 0x00, .pll_address = 0x00,
- .pll_type = DRXD_PLL_NONE, .clock = 12000, .insert_rs_byte = 1,
- .pll_set = NULL, .osc_deviation = NULL, .IF = 42800000,
+ .demod_address = 0x70,
+ .demod_revision = 0xa2,
+ .pll_type = DRXD_PLL_NONE,
+ .clock = 12000,
+ .insert_rs_byte = 1,
+ .IF = 42800000,
.disable_i2c_gate_ctrl = 1,
};